Browse Source

2 more test failures resolved. Attributes shouldn't be reset.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273452 13f79535-47bb-0310-9956-ffa450edef68
master
Costin Manolache 22 years ago
parent
commit
5413125a91
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java

+ 2
- 1
proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java View File

@@ -286,7 +286,8 @@ public class RuntimeConfigurable2 extends RuntimeConfigurable {
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());


Loading…
Cancel
Save