ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs BuildNumber.java
Date Tue, 07 Dec 2004 06:45:32 GMT
jglick      2004/12/06 22:45:32

  Modified:    src/main/org/apache/tools/ant/taskdefs BuildNumber.java
  Log:
  Minor simplification: task.log(...) ~ task.getProject().log(...).
  
  Revision  Changes    Path
  1.18      +3 -3      ant/src/main/org/apache/tools/ant/taskdefs/BuildNumber.java
  
  Index: BuildNumber.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/BuildNumber.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- BuildNumber.java	9 Mar 2004 16:48:04 -0000	1.17
  +++ BuildNumber.java	7 Dec 2004 06:45:32 -0000	1.18
  @@ -98,7 +98,7 @@
                   try {
                       output.close();
                   } catch (final IOException ioe) {
  -                    getProject().log("error closing output stream " + ioe, Project.MSG_ERR);
  +                    log("error closing output stream " + ioe, Project.MSG_ERR);
                   }
               }
               myFile = savedFile;
  @@ -157,7 +157,7 @@
                   try {
                       input.close();
                   } catch (final IOException ioe) {
  -                    getProject().log("error closing input stream " + ioe, Project.MSG_ERR);
  +                    log("error closing input stream " + ioe, Project.MSG_ERR);
                   }
               }
           }
  
  
  

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


Mime
View raw message