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/24 02:20:56 UTC
svn commit: r1535223 -
/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
Author: ggregory
Date: Thu Oct 24 00:20:56 2013
New Revision: 1535223
URL: http://svn.apache.org/r1535223
Log:
The declared exception ImageReadException is not actually thrown by the method readGraphicControlExtension(int, InputStream) from type GifImageParser.
Modified:
commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java?rev=1535223&r1=1535222&r2=1535223&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java Thu Oct 24 00:20:56 2013
@@ -165,7 +165,7 @@ public class GifImageParser extends Imag
}
private GraphicControlExtension readGraphicControlExtension(final int code,
- final InputStream is) throws ImageReadException, IOException {
+ final InputStream is) throws IOException {
readByte("block_size", is, "GIF: corrupt GraphicControlExt");
final int packed = readByte("packed fields", is,
"GIF: corrupt GraphicControlExt");