Browse Source

-use FileUtils.close

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@502509 13f79535-47bb-0310-9956-ffa450edef68
master
Kevin Jackson 18 years ago
parent
commit
36a87a6101
1 changed files with 1 additions and 7 deletions
  1. +1
    -7
      src/main/org/apache/tools/ant/taskdefs/Zip.java

+ 1
- 7
src/main/org/apache/tools/ant/taskdefs/Zip.java View File

@@ -899,13 +899,7 @@ public class Zip extends MatchingTask {
+ "(" + ioe.getMessage() + ")", ioe,
getLocation());
} finally {
if (os != null) {
try {
os.close();
} catch (IOException e) {
//ignore
}
}
FileUtils.close(os);
}
return true;
}


Loading…
Cancel
Save