peterreilly    2005/01/11 08:34:57

  Modified:    src/main/org/apache/tools/ant/taskdefs Available.java
  Log:
  add note for reason for using setproperty rather than setnewproperty in 
available.java
  
  Revision  Changes    Path
  1.64      +2 -0      ant/src/main/org/apache/tools/ant/taskdefs/Available.java
  
  Index: Available.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Available.java,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- Available.java    6 Jan 2005 12:05:05 -0000       1.63
  +++ Available.java    11 Jan 2005 16:34:57 -0000      1.64
  @@ -213,6 +213,8 @@
                           + "  Build file should not reuse the same property"
                           + " name for different values.");
                   }
  +                // NB: this makes use of Project#setProperty rather than 
Project#setNewProperty
  +                //     due to backwards compatiblity reasons
                   getProject().setProperty(property, value);
               }
           } finally {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to