commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1535211 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/ComSegment.java
Date Wed, 23 Oct 2013 23:22:34 GMT
Author: ggregory
Date: Wed Oct 23 23:22:33 2013
New Revision: 1535211

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

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

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/ComSegment.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/ComSegment.java?rev=1535211&r1=1535210&r2=1535211&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/ComSegment.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/segments/ComSegment.java
Wed Oct 23 23:22:33 2013
@@ -21,7 +21,7 @@ import java.io.InputStream;
 import java.io.UnsupportedEncodingException;
 
 public class ComSegment extends GenericSegment {
-    public ComSegment(final int marker, final byte segmentData[]) throws IOException {
+    public ComSegment(final int marker, final byte segmentData[]) {
         super(marker, segmentData);
     }
 



Mime
View raw message