commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1535226 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java
Date Thu, 24 Oct 2013 00:23:16 GMT
Author: ggregory
Date: Thu Oct 24 00:23:15 2013
New Revision: 1535226

URL: http://svn.apache.org/r1535226
Log:
The declared exception ImageReadException is not actually thrown by the method parseIPTCBlock(byte[],
boolean) from type IptcParser.

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java?rev=1535226&r1=1535225&r2=1535226&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java
Thu Oct 24 00:23:15 2013
@@ -123,7 +123,7 @@ public class IptcParser extends BinaryFi
     }
 
     protected List<IptcRecord> parseIPTCBlock(final byte bytes[], final boolean verbose)
-            throws ImageReadException, IOException {
+            throws IOException {
         final List<IptcRecord> elements = new ArrayList<IptcRecord>();
 
         int index = 0;



Mime
View raw message