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 And.java
Date Sat, 12 Jan 2002 04:55:16 GMT
donaldp     02/01/11 20:55:16

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition
                        And.java
  Log:
  Cleanup naming
  
  Revision  Changes    Path
  1.6       +7 -7      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition/And.java
  
  Index: And.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/condition/And.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- And.java	23 Dec 2001 06:34:23 -0000	1.5
  +++ And.java	12 Jan 2002 04:55:16 -0000	1.6
  @@ -17,24 +17,24 @@
    * false.</p>
    *
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
  -public class And extends ConditionBase implements Condition
  +public class And
  +    extends ConditionBase
  +    implements Condition
   {
  -
       public boolean eval()
           throws TaskException
       {
  -        Enumeration enum = getConditions();
  +        final Enumeration enum = getConditions();
           while( enum.hasMoreElements() )
           {
  -            Condition c = (Condition)enum.nextElement();
  -            if( !c.eval() )
  +            final Condition condition = (Condition)enum.nextElement();
  +            if( !condition.eval() )
               {
                   return false;
               }
           }
           return true;
       }
  -
   }
  
  
  

--
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