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/java/org/apache/myrmidon/components/configurer DefaultConfigurer.java
Date Thu, 04 Apr 2002 11:36:20 GMT
donaldp     02/04/04 03:36:20

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer
                        DefaultConfigurer.java
  Log:
  Remove the -ref construct from attributes.
  
  Revision  Changes    Path
  1.46      +5 -13     jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultConfigurer.java
  
  Index: DefaultConfigurer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultConfigurer.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- DefaultConfigurer.java	4 Apr 2002 10:50:41 -0000	1.45
  +++ DefaultConfigurer.java	4 Apr 2002 11:36:20 -0000	1.46
  @@ -33,7 +33,7 @@
    * Class used to configure tasks.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.45 $ $Date: 2002/04/04 10:50:41 $
  + * @version $Revision: 1.46 $ $Date: 2002/04/04 11:36:20 $
    * @ant.type type="configurer" name="default"
    */
   public class DefaultConfigurer
  @@ -419,18 +419,10 @@
                                  final TaskContext context )
           throws Exception
       {
  -        if( name.toLowerCase().endsWith( "-ref" ) )
  -        {
  -            // A reference
  -            setReference( state, name, value, context, false );
  -        }
  -        else
  -        {
  -            // Set the value
  -            final PropertyConfigurer property =
  -                getConfigurerFromName( state.getConfigurer(), name, false, false );
  -            setValue( property, state, value, context );
  -        }
  +        // Set the value
  +        final PropertyConfigurer property =
  +            getConfigurerFromName( state.getConfigurer(), name, false, false );
  +        setValue( property, state, value, context );
       }
   
       /**
  
  
  

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