You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by bo...@apache.org on 2020/08/23 02:42:53 UTC
[tika] branch main updated: TIKA-3185: Close Input Zip file to
prevent file access issue on windows.
This is an automated email from the ASF dual-hosted git repository.
bob pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new b9822c8 TIKA-3185: Close Input Zip file to prevent file access issue on windows.
b9822c8 is described below
commit b9822c8935068375b689c618c20c941574940df9
Author: Bob Paulin <bo...@bobpaulin.com>
AuthorDate: Sat Aug 22 21:40:39 2020 -0500
TIKA-3185: Close Input Zip file to prevent file access issue on windows.
---
.../src/test/java/org/apache/tika/parser/XMLTestBase.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/tika-parser-modules/tika-parser-integration-tests/src/test/java/org/apache/tika/parser/XMLTestBase.java b/tika-parser-modules/tika-parser-integration-tests/src/test/java/org/apache/tika/parser/XMLTestBase.java
index 9d29ef4..e12d3b6 100644
--- a/tika-parser-modules/tika-parser-integration-tests/src/test/java/org/apache/tika/parser/XMLTestBase.java
+++ b/tika-parser-modules/tika-parser-integration-tests/src/test/java/org/apache/tika/parser/XMLTestBase.java
@@ -93,6 +93,7 @@ public class XMLTestBase extends TikaTest {
outZip.write(bytes);
outZip.closeEntry();
}
+ input.close();
outZip.flush();
outZip.close();