costin      2002/10/18 13:34:20

  Modified:    proposal/embed/src/java/org/apache/tools/ant
                        RuntimeConfigurable2.java
  Log:
  2 more test failures resolved. Attributes shouldn't be reset.
  
  Revision  Changes    Path
  1.5       +2 -1      
jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java
  
  Index: RuntimeConfigurable2.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RuntimeConfigurable2.java 17 Oct 2002 16:42:28 -0000      1.4
  +++ RuntimeConfigurable2.java 18 Oct 2002 20:34:20 -0000      1.5
  @@ -286,7 +286,8 @@
           if (attributes != null) {
               ph.configure(wrappedObject, attributes, p);
               id = attributes.getValue("id");
  -            attributes = null;
  +            // No way - this will be used on future calls ( if the task is 
used
  +            // multiple times: attributes = null;
           }
           if (characters.length() != 0) {
               ProjectHelper.addText(p, wrappedObject, characters.toString());
  
  
  

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

Reply via email to