ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition IsSet.java
Date Sun, 06 Jan 2002 01:54:51 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message