commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1534261 - /commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/ApacheImagingSpeedAndMemoryTest.java
Date Mon, 21 Oct 2013 16:11:01 GMT
Author: sebb
Date: Mon Oct 21 16:11:01 2013
New Revision: 1534261

URL: http://svn.apache.org/r1534261
Log:
Ensure resource is closed

Modified:
    commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/ApacheImagingSpeedAndMemoryTest.java

Modified: commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/ApacheImagingSpeedAndMemoryTest.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/ApacheImagingSpeedAndMemoryTest.java?rev=1534261&r1=1534260&r2=1534261&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/ApacheImagingSpeedAndMemoryTest.java
(original)
+++ commons/proper/imaging/trunk/src/test/java/org/apache/commons/imaging/examples/ApacheImagingSpeedAndMemoryTest.java
Mon Oct 21 16:11:01 2013
@@ -263,6 +263,8 @@ public class ApacheImagingSpeedAndMemory
             } catch (final IOException ioex) {
                 ioex.printStackTrace();
                 System.exit(-1);
+            } finally {
+            	fmt.close();            	
             }
 
             try {



Mime
View raw message