maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1626501 - in /maven/plugins/trunk: maven-rar-plugin/src/test/java/org/apache/maven/plugin/rar/RarMojoTest.java maven-source-plugin/src/test/java/org/apache/maven/plugin/source/AbstractSourcePluginTestCase.java
Date Sat, 20 Sep 2014 22:03:11 GMT
Author: krosenvold
Date: Sat Sep 20 22:03:10 2014
New Revision: 1626501

URL: http://svn.apache.org/r1626501
Log:
Close some more ZipFiles.

Modified:
    maven/plugins/trunk/maven-rar-plugin/src/test/java/org/apache/maven/plugin/rar/RarMojoTest.java
    maven/plugins/trunk/maven-source-plugin/src/test/java/org/apache/maven/plugin/source/AbstractSourcePluginTestCase.java

Modified: maven/plugins/trunk/maven-rar-plugin/src/test/java/org/apache/maven/plugin/rar/RarMojoTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/test/java/org/apache/maven/plugin/rar/RarMojoTest.java?rev=1626501&r1=1626500&r2=1626501&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/test/java/org/apache/maven/plugin/rar/RarMojoTest.java
(original)
+++ maven/plugins/trunk/maven-rar-plugin/src/test/java/org/apache/maven/plugin/rar/RarMojoTest.java
Sat Sep 20 22:03:10 2014
@@ -129,6 +129,8 @@ public class RarMojoTest
         assertTrue( entries.hasMoreElements() );
 
         assertEquals( 0, getSizeOfExpectedFiles( entries, expectedFiles ) );
+
+        rar.close();
     }
 
     public void testBasicRarWithDescriptor()

Modified: maven/plugins/trunk/maven-source-plugin/src/test/java/org/apache/maven/plugin/source/AbstractSourcePluginTestCase.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-source-plugin/src/test/java/org/apache/maven/plugin/source/AbstractSourcePluginTestCase.java?rev=1626501&r1=1626500&r2=1626501&view=diff
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/test/java/org/apache/maven/plugin/source/AbstractSourcePluginTestCase.java
(original)
+++ maven/plugins/trunk/maven-source-plugin/src/test/java/org/apache/maven/plugin/source/AbstractSourcePluginTestCase.java
Sat Sep 20 22:03:10 2014
@@ -194,6 +194,8 @@ public abstract class AbstractSourcePlug
 
             assertTrue( "Missing entries " + expected.toString() + " in " + jarFile, expected.isEmpty()
);
         }
+
+        jar.close();
     }
 
     protected File getTestTargetDir( String projectName )



Mime
View raw message