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); }