conor 2003/04/06 01:30:57
Modified: src/main/org/apache/tools/ant/helper ProjectHelper2.java Log: Fix up handling of TaskContainer configuration. Revision Changes Path 1.17 +2 -7 ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java Index: ProjectHelper2.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -w -u -r1.16 -r1.17 --- ProjectHelper2.java 1 Apr 2003 14:59:58 -0000 1.16 +++ ProjectHelper2.java 6 Apr 2003 09:30:57 -0000 1.17 @@ -745,7 +745,6 @@ AntXMLContext context) throws SAXParseException { RuntimeConfigurable parentWrapper = context.currentWrapper(); - RuntimeConfigurable wrapper = null; Object parent = null; if (parentWrapper != null) { @@ -796,7 +795,8 @@ // container.addTask(task); // This is a nop in UE: task.init(); - wrapper = new RuntimeConfigurable(task, task.getTaskName()); + RuntimeConfigurable wrapper + = new RuntimeConfigurable(task, task.getTaskName()); for (int i = 0; i < attrs.getLength(); i++) { wrapper.setAttribute(attrs.getQName(i), @@ -851,11 +851,6 @@ public void onEndElement(String uri, String tag, AntXMLContext context) { context.popWrapper(); - } - - public void onEndChild(String uri, String tag, String qname, - AntXMLContext context) - throws SAXParseException { } } }