You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2013/11/25 14:30:57 UTC

svn commit: r1545270 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java

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.");
         }