ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant XmlLogger.java
Date Mon, 10 Sep 2001 16:05:14 GMT
donaldp     01/09/10 09:05:14

  Modified:    src/main/org/apache/tools/ant XmlLogger.java
  Log:
  Added redundent statement to aid understanding (will be optimized out by compiler anyways).
  
  Revision  Changes    Path
  1.11      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/XmlLogger.java
  
  Index: XmlLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/XmlLogger.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XmlLogger.java	2001/09/10 15:39:43	1.10
  +++ XmlLogger.java	2001/09/10 16:05:13	1.11
  @@ -240,7 +240,7 @@
       public void messageLogged(BuildEvent event) {
           Element messageElement = doc.createElement(MESSAGE_TAG);
   
  -        String name;
  +        String name = "debug";
           switch(event.getPriority()) {
               case Project.MSG_ERR: name = "error"; break;
               case Project.MSG_WARN: name = "warn"; break;
  
  
  

Mime
View raw message