Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Don't remove unzipped files automatically.

Dawid Weissc0bdf68730b8
diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/TestUtil.java b/lucene/test-framework/src/java/org/apache/lucene/util/TestUtil.java
index 9f08e7981b1..0d03ee82f9d 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/util/TestUtil.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/util/TestUtil.java
@@ -137,13 +137,12 @@ public final class TestUtil {
}
/**
- * Convenience method: Unzip zipName + ".zip" into destDir, cleaning up
+ * Convenience method unzipping zipName into destDir, cleaning up
* destDir first.
*/
public static void unzip(File zipName, File destDir) throws IOException {
rm(destDir);
destDir.mkdir();
- maybeRemoveAfterSuite(destDir);
ZipFile zipFile = new ZipFile(zipName);
Enumeration<? extends ZipEntry> entries = zipFile.entries();