commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1544912 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
Date Sun, 24 Nov 2013 05:03:40 GMT
Author: damjan
Date: Sun Nov 24 05:03:40 2013
New Revision: 1544912

URL: http://svn.apache.org/r1544912
Log:
Fix a Findbugs bug.


Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java?rev=1544912&r1=1544911&r2=1544912&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
Sun Nov 24 05:03:40 2013
@@ -63,8 +63,7 @@ public class PngChunkIccp extends PngChu
         UncompressedProfile = new ZLibUtils().inflate(CompressedProfile);
 
         if (getDebug()) {
-            System.out.println("UncompressedProfile: "
-                    + ((UncompressedProfile == null) ? "null" : Integer.toString(bytes.length)));
+            System.out.println("UncompressedProfile: " + Integer.toString(bytes.length));
         }
     }
 



Mime
View raw message