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:23:16 UTC
svn commit: r1535226 -
/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParser.java
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;