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

svn commit: r1535234 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/transparencyfilters/TransparencyFilterGrayscale.java

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);