commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1535224 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/ico/IcoImageParser.java
Date Thu, 24 Oct 2013 00:21:31 GMT
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)



Mime
View raw message