diff options
Diffstat (limited to 'src/main/org/apache/tools/ant/taskdefs/condition/TypeFound.java')
-rw-r--r-- | src/main/org/apache/tools/ant/taskdefs/condition/TypeFound.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/org/apache/tools/ant/taskdefs/condition/TypeFound.java b/src/main/org/apache/tools/ant/taskdefs/condition/TypeFound.java index f97c7f445..f51e02d6f 100644 --- a/src/main/org/apache/tools/ant/taskdefs/condition/TypeFound.java +++ b/src/main/org/apache/tools/ant/taskdefs/condition/TypeFound.java @@ -58,7 +58,6 @@ public class TypeFound extends ProjectComponent implements Condition { * @return true if the typename exists */ protected boolean doesTypeExist(String typename) { - ComponentHelper helper = ComponentHelper.getComponentHelper(getProject()); String componentName = ProjectHelper.genComponentName(uri, typename); @@ -81,6 +80,7 @@ public class TypeFound extends ProjectComponent implements Condition { * @return true if the condition is true * @exception BuildException if an error occurs */ + @Override public boolean eval() throws BuildException { if (name == null) { throw new BuildException("No type specified"); |