Browse Source

UnknownElement.maybeconfigure was 'always configure': Bugzilla 40641

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451479 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
135b0fa373
2 changed files with 6 additions and 4 deletions
  1. +3
    -0
      WHATSNEW
  2. +3
    -4
      src/main/org/apache/tools/ant/UnknownElement.java

+ 3
- 0
WHATSNEW View File

@@ -29,6 +29,9 @@ Fixed bugs:
* <xmlproperty> did not create properties for empty leaf elements.
Bugzilla report 26286.

* UnknownElement.maybeConfigure always configured.
Bugzilla report 40641.

Other changes:
--------------



+ 3
- 4
src/main/org/apache/tools/ant/UnknownElement.java View File

@@ -152,10 +152,9 @@ public class UnknownElement extends Task {
* @exception BuildException if the configuration fails
*/
public void maybeConfigure() throws BuildException {
//ProjectComponentHelper helper=ProjectComponentHelper.getProjectComponentHelper();
//realThing = helper.createProjectComponent( this, getProject(), null,
// this.getTag());

if (realThing != null) {
return;
}
configure(makeObject(this, getWrapper()));
}



Loading…
Cancel
Save