diff --git a/src/main/org/apache/tools/ant/UnknownElement.java b/src/main/org/apache/tools/ant/UnknownElement.java index 3f349d3e7..3615eb160 100644 --- a/src/main/org/apache/tools/ant/UnknownElement.java +++ b/src/main/org/apache/tools/ant/UnknownElement.java @@ -79,11 +79,11 @@ public class UnknownElement extends Task { * Childelements, holds UnknownElement instances. */ private Vector children = new Vector(); - + public UnknownElement (String elementName) { this.elementName = elementName; } - + /** * return the corresponding XML element name. */ @@ -118,7 +118,7 @@ public class UnknownElement extends Task { */ public void execute() { if (realThing == null) { - // plain impossible to get here, maybeConfigure should + // plain impossible to get here, maybeConfigure should // have thrown an exception. throw new BuildException("Could not create task of type: " + elementName, location); @@ -140,8 +140,8 @@ public class UnknownElement extends Task { * Creates child elements, creates children of the children, sets * attributes of the child elements. */ - protected void handleChildren(Object parent, - RuntimeConfigurable parentWrapper) + protected void handleChildren(Object parent, + RuntimeConfigurable parentWrapper) throws BuildException { if (parent instanceof TaskAdapter) { @@ -150,7 +150,7 @@ public class UnknownElement extends Task { Class parentClass = parent.getClass(); IntrospectionHelper ih = IntrospectionHelper.getHelper(parentClass); - + for (int i=0; i