You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/01/02 23:28:09 UTC

svn commit: r1649144 - /commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifBaseTest.java

Author: britter
Date: Fri Jan  2 22:28:08 2015
New Revision: 1649144

URL: http://svn.apache.org/r1649144
Log:
Remove commented out code

Modified:
    commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifBaseTest.java

Modified: commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifBaseTest.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifBaseTest.java?rev=1649144&r1=1649143&r2=1649144&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifBaseTest.java (original)
+++ commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/formats/jpeg/exif/ExifBaseTest.java Fri Jan  2 22:28:08 2015
@@ -28,30 +28,16 @@ import org.apache.commons.imaging.common
 import org.apache.commons.imaging.formats.jpeg.JpegImageParser;
 
 public abstract class ExifBaseTest extends ImagingTest {
-    // public ExifBaseTest(String name)
-    // {
-    // super(name);
-    // }
 
     protected static boolean hasExifData(final File file) {
-        // Debug.debug("hasExifData file", file.getAbsoluteFile());
-
-        if (!file.getName().toLowerCase().endsWith(".jpg"))
-         {
+        if (!file.getName().toLowerCase().endsWith(".jpg")) {
             return false;
-        // ImageFormat format = Imaging.guessFormat(file);
-        // if (format != ImageFormat.IMAGE_FORMAT_JPEG)
-        // return false;
         }
 
-        // Debug.debug("possible file", file);
-
         try {
             final ByteSource byteSource = new ByteSourceFile(file);
             return new JpegImageParser().hasExifSegment(byteSource);
         } catch (final Exception e) {
-            // Debug.debug("Error file", file.getAbsoluteFile());
-            // Debug.debug(e, 4);
             return false;
         }
     }