commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1391650 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
Date Fri, 28 Sep 2012 20:51:26 GMT
Author: sebb
Date: Fri Sep 28 20:51:26 2012
New Revision: 1391650

URL: http://svn.apache.org/viewvc?rev=1391650&view=rev
Log:
Cannot be null here

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

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java?rev=1391650&r1=1391649&r2=1391650&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java
Fri Sep 28 20:51:26 2012
@@ -285,7 +285,7 @@ public class JpegImageParser extends Ima
             }
         }
 
-        if ((filtered == null) || (filtered.size() < 1)) {
+        if (filtered.size() < 1) {
             return null;
         }
 



Mime
View raw message