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:52:15 UTC
svn commit: r1534780 -
/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryInputStream.java
Author: ggregory
Date: Tue Oct 22 20:52:14 2013
New Revision: 1534780
URL: http://svn.apache.org/r1534780
Log:
The declared exception ImageReadException is not actually thrown by the method readBytes(int, String) from type BinaryInputStream.
Modified:
commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryInputStream.java
Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryInputStream.java?rev=1534780&r1=1534779&r2=1534780&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryInputStream.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/BinaryInputStream.java Tue Oct 22 20:52:14 2013
@@ -129,7 +129,7 @@ public class BinaryInputStream extends I
}
public final byte[] readBytes(final int length, final String error)
- throws ImageReadException, IOException {
+ throws IOException {
return BinaryFunctions.readBytes("", is, length, error);
}