commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1535234 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterGrayscale.java
Date Thu, 24 Oct 2013 00:28:24 GMT
Author: ggregory
Date: Thu Oct 24 00:28:23 2013
New Revision: 1535234

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

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterGrayscale.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterGrayscale.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterGrayscale.java?rev=1535234&r1=1535233&r2=1535234&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterGrayscale.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterGrayscale.java
Thu Oct 24 00:28:23 2013
@@ -24,8 +24,7 @@ import org.apache.commons.imaging.ImageR
 public class TransparencyFilterGrayscale extends TransparencyFilter {
     private final int transparent_color;
 
-    public TransparencyFilterGrayscale(final byte bytes[]) throws ImageReadException,
-            IOException {
+    public TransparencyFilterGrayscale(final byte bytes[]) throws IOException {
         super(bytes);
 
         final ByteArrayInputStream is = new ByteArrayInputStream(bytes);



Mime
View raw message