From 5413125a9152c81e198e20fcd6ed6866aa620257 Mon Sep 17 00:00:00 2001 From: Costin Manolache Date: Fri, 18 Oct 2002 20:34:20 +0000 Subject: [PATCH] 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 --- .../src/java/org/apache/tools/ant/RuntimeConfigurable2.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java b/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java index 8b4d6174b..8235640db 100644 --- a/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java +++ b/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java @@ -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());