Browse Source

Fix a regression in a verbose message that I introduced recently...

Submitted by: Glenn McAllister


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267737 13f79535-47bb-0310-9956-ffa450edef68
master
Sam Ruby 25 years ago
parent
commit
38a143f801
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/main/org/apache/tools/ant/Target.java

+ 4
- 0
src/main/org/apache/tools/ant/Target.java View File

@@ -112,6 +112,10 @@ public class Target {
this.condition = (property == null) ? "" : property; this.condition = (property == null) ? "" : property;
} }


public String toString() {
return name;
}

public void execute() throws BuildException { public void execute() throws BuildException {
if (("".equals(this.condition)) || (project.getProperty(this.condition) != null)) { if (("".equals(this.condition)) || (project.getProperty(this.condition) != null)) {
Enumeration enum = tasks.elements(); Enumeration enum = tasks.elements();


Loading…
Cancel
Save