commit | e08fd8e88f1f25bcab9c6cf323adfac3adbff1b7 | [log] [tgz] |
---|---|---|
author | Stefan Bodewig <bodewig@apache.org> | Mon Oct 21 03:55:27 2013 +0000 |
committer | Stefan Bodewig <bodewig@apache.org> | Mon Oct 21 03:55:27 2013 +0000 |
tree | 30e0d884fbf706cb87beb27d8e8de9b9f22106b9 | |
parent | d21c589bc131e7789d80841fea12753fe98690b8 [diff] |
one more place where SevenZFile#close is called git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/compress/trunk@1534020 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/org/apache/ant/compress/resources/SevenZScanner.java b/src/main/org/apache/ant/compress/resources/SevenZScanner.java index 8d4c269..4ec677a 100644 --- a/src/main/org/apache/ant/compress/resources/SevenZScanner.java +++ b/src/main/org/apache/ant/compress/resources/SevenZScanner.java
@@ -121,7 +121,11 @@ } } finally { if (zf != null) { - zf.close(); + try { + zf.close(); + } catch (IOException ex) { + // swallow + } } } }