commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1545270 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java
Date Mon, 25 Nov 2013 13:30:57 GMT
Author: ebourg
Date: Mon Nov 25 13:30:57 2013
New Revision: 1545270

URL: http://svn.apache.org/r1545270
Log:
Removed a redundant test in TiffDirectory.imageDataInStrips()

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java?rev=1545270&r1=1545269&r2=1545270&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java
Mon Nov 25 13:30:57 2013
@@ -670,8 +670,6 @@ public class TiffDirectory extends TiffE
             return false;
         } else if ((stripOffsets != null) && (stripByteCounts != null)) {
             return true;
-        } else if ((stripOffsets != null) && (stripByteCounts != null)) {
-            return true;
         } else {
             throw new ImageReadException("Couldn't find image data.");
         }



Mime
View raw message