Browse Source

Use inherited getProperty rather than getProject().getProeprty()

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270559 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
6a568e4e32
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java
  2. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/condition/IsSet.java

+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java View File

@@ -33,7 +33,7 @@ public class IsSet extends ProjectComponent implements Condition
throw new TaskException( "No property specified for isset condition" );
}

return getProject().getProperty( property ) != null;
return getProperty( property ) != null;
}

}

+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/condition/IsSet.java View File

@@ -33,7 +33,7 @@ public class IsSet extends ProjectComponent implements Condition
throw new TaskException( "No property specified for isset condition" );
}

return getProject().getProperty( property ) != null;
return getProperty( property ) != null;
}

}

Loading…
Cancel
Save