Browse Source

Drop JDK 1.1 compatibility in favor of improved error handling, submitted by Martijn Kruithof

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275245 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
c9d1f374e5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java View File

@@ -763,7 +763,7 @@ public class JUnitTask extends Task {
} }
try { try {
FileOutputStream outstream = new FileOutputStream(propsFile); FileOutputStream outstream = new FileOutputStream(propsFile);
props.save(outstream, "Ant JUnitTask generated properties file");
props.store(outstream, "Ant JUnitTask generated properties file");
outstream.close(); outstream.close();
} catch (java.io.IOException e) { } catch (java.io.IOException e) {
propsFile.delete(); propsFile.delete();


Loading…
Cancel
Save