You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2002/01/06 02:54:51 UTC
cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition IsSet.java
donaldp 02/01/05 17:54:51
Modified: proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition
IsSet.java
Log:
Use inherited getProperty rather than getProject().getProeprty()
Revision Changes Path
1.4 +2 -2 jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java
Index: IsSet.java
===================================================================
RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition/IsSet.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- IsSet.java 23 Dec 2001 06:34:23 -0000 1.3
+++ IsSet.java 6 Jan 2002 01:54:51 -0000 1.4
@@ -14,7 +14,7 @@
* Condition that tests whether a given property has been set.
*
* @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class IsSet extends ProjectComponent implements Condition
{
@@ -33,7 +33,7 @@
throw new TaskException( "No property specified for isset condition" );
}
- return getProject().getProperty( property ) != null;
+ return getProperty( property ) != null;
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>