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:21:31 UTC

svn commit: r1535224 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java

Author: ggregory
Date: Thu Oct 24 00:21:31 2013
New Revision: 1535224

URL: http://svn.apache.org/r1535224
Log:
The declared exception ImageReadException is not actually thrown by the method readIconInfo(InputStream) from type IcoImageParser.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java?rev=1535224&r1=1535223&r2=1535224&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java Thu Oct 24 00:21:31 2013
@@ -184,8 +184,7 @@ public class IcoImageParser extends Imag
         }
     }
 
-    private IconInfo readIconInfo(final InputStream is) throws ImageReadException,
-            IOException {
+    private IconInfo readIconInfo(final InputStream is) throws IOException {
         // Width (1 byte), Width of Icon (1 to 255)
         final byte Width = readByte("Width", is, "Not a Valid ICO File");
         // Height (1 byte), Height of Icon (1 to 255)