ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-ant/proposal/embed/src/java/org/apache/tools/ant RuntimeConfigurable2.java
Date Fri, 18 Oct 2002 20:34:20 GMT
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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message