commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r995619 - /commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/png/PngReadTest.java
Date Fri, 10 Sep 2010 00:39:00 GMT
Author: sebb
Date: Fri Sep 10 00:39:00 2010
New Revision: 995619

URL: http://svn.apache.org/viewvc?rev=995619&view=rev
Log:
Unused variables

Modified:
    commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/png/PngReadTest.java

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/png/PngReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/png/PngReadTest.java?rev=995619&r1=995618&r2=995619&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/png/PngReadTest.java
(original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/sanselan/formats/png/PngReadTest.java
Fri Sep 10 00:39:00 2010
@@ -49,8 +49,7 @@ public class PngReadTest extends PngBase
 			{
 				try
 				{
-					IImageMetadata metadata = Sanselan.getMetadata(imageFile);
-					// assertNotNull(metadata);
+					Sanselan.getMetadata(imageFile);
 					fail("Image read should have failed.");
 				} catch (Exception e)
 				{
@@ -58,8 +57,7 @@ public class PngReadTest extends PngBase
 
 				try
 				{
-					ImageInfo imageInfo = Sanselan.getImageInfo(imageFile);
-					// assertNotNull(imageInfo);
+					Sanselan.getImageInfo(imageFile);
 					fail("Image read should have failed.");
 				} catch (Exception e)
 				{
@@ -67,8 +65,7 @@ public class PngReadTest extends PngBase
 
 				try
 				{
-					BufferedImage image = Sanselan.getBufferedImage(imageFile);
-					// assertNotNull(image);
+					Sanselan.getBufferedImage(imageFile);
 					fail("Image read should have failed.");
 				} catch (Exception e)
 				{



Mime
View raw message