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-myrmidon/framework/src/java/org/apache/myrmidon/framework ExecuteTarget.java
Date Thu, 11 Jul 2002 05:01:05 GMT
donaldp     2002/07/10 22:01:04

  Modified:    framework/src/java/org/apache/myrmidon/framework
                        ExecuteTarget.java
  Log:
  MOve access of variable down so that it is only accessed if it is going to be used
  
  Revision  Changes    Path
  1.30      +2 -2      jakarta-ant-myrmidon/framework/src/java/org/apache/myrmidon/framework/ExecuteTarget.java
  
  Index: ExecuteTarget.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/framework/src/java/org/apache/myrmidon/framework/ExecuteTarget.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- ExecuteTarget.java	5 Jul 2002 03:21:59 -0000	1.29
  +++ ExecuteTarget.java	11 Jul 2002 05:01:04 -0000	1.30
  @@ -147,9 +147,9 @@
               while( keys.hasNext() )
               {
                   final String key = (String)keys.next();
  -                final Object value = properties.get( key );
                   if( !key.startsWith( PROTECTED_PROPERTY_PREFIX ) )
                   {
  +                    final Object value = properties.get( key );
                       parameters.put( key, value );
                   }
               }
  
  
  

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