You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/10/22 22:51:29 UTC

svn commit: r1534779 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java

Author: ggregory
Date: Tue Oct 22 20:51:29 2013
New Revision: 1534779

URL: http://svn.apache.org/r1534779
Log:
The declared exception ImageReadException is not actually thrown by the method remainingBytes(String, byte[], int) from type BinaryFileParser.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java?rev=1534779&r1=1534778&r2=1534779&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java Tue Oct 22 20:51:29 2013
@@ -136,8 +136,7 @@ public class BinaryFileParser {
         BinaryFunctions.skipBytes(is, length, exception);
     }
     
-    protected final byte[] remainingBytes(final String name, final byte bytes[], final int count)
-            throws ImageReadException {
+    protected final byte[] remainingBytes(final String name, final byte bytes[], final int count) {
         return BinaryFunctions.remainingBytes(name, bytes, count);
     }