ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit JUnitTask.java
Date Wed, 17 Sep 2003 08:22:50 GMT
bodewig     2003/09/17 01:22:50

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTask.java
  Log:
  Drop JDK 1.1 compatibility in favor of improved error handling, submitted by Martijn Kruithof
  
  Revision  Changes    Path
  1.81      +2 -2      ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- JUnitTask.java	17 Sep 2003 08:20:54 -0000	1.80
  +++ JUnitTask.java	17 Sep 2003 08:22:50 -0000	1.81
  @@ -763,7 +763,7 @@
           }
           try {
               FileOutputStream outstream = new FileOutputStream(propsFile);
  -            props.save(outstream, "Ant JUnitTask generated properties file");
  +            props.store(outstream, "Ant JUnitTask generated properties file");
               outstream.close();
           } catch (java.io.IOException e) {
               propsFile.delete();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message