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:24:37 UTC

svn commit: r1535229 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java

Author: ggregory
Date: Thu Oct 24 00:24:36 2013
New Revision: 1535229

URL: http://svn.apache.org/r1535229
Log:
The declared exception ImageReadException is not actually thrown by the constructor SofnSegment(int, byte[]).

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java?rev=1535229&r1=1535228&r2=1535229&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/SofnSegment.java Thu Oct 24 00:24:36 2013
@@ -45,7 +45,7 @@ public class SofnSegment extends Segment
     }
 
     public SofnSegment(final int marker, final byte segmentData[])
-            throws ImageReadException, IOException {
+            throws IOException {
         this(marker, segmentData.length, new ByteArrayInputStream(segmentData));
     }