Browse Source

-use FileUtils.close

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

+ 1
- 3
src/main/org/apache/tools/ant/taskdefs/ManifestTask.java View File

@@ -254,9 +254,7 @@ public class ManifestTask extends Task {
throw new BuildException("Failed to write " + manifestFile,
e, getLocation());
} finally {
if (w != null) {
w.close();
}
FileUtils.close(w);
}
}
}

Loading…
Cancel
Save