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 DefaultPropertyConfigurer.java
Date Sun, 27 Jan 2002 23:36:55 GMT
donaldp     02/01/27 15:36:55

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer
                        DefaultPropertyConfigurer.java
  Log:
  Restyled
  
  Revision  Changes    Path
  1.4       +7 -7      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultPropertyConfigurer.java
  
  Index: DefaultPropertyConfigurer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultPropertyConfigurer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultPropertyConfigurer.java	22 Jan 2002 11:15:25 -0000	1.3
  +++ DefaultPropertyConfigurer.java	27 Jan 2002 23:36:55 -0000	1.4
  @@ -18,7 +18,7 @@
    * create and set property values.
    *
    * @author <a href="mailto:adammurdoch_ml@yahoo.com">Adam Murdoch</a>
  - * @version $Revision: 1.3 $ $Date: 2002/01/22 11:15:25 $
  + * @version $Revision: 1.4 $ $Date: 2002/01/27 23:36:55 $
    */
   class DefaultPropertyConfigurer
       implements PropertyConfigurer
  @@ -39,9 +39,9 @@
                                         final int maxCount )
       {
           m_propIndex = propIndex;
  -        if ( type.isPrimitive() )
  +        if( type.isPrimitive() )
           {
  -            m_type = getComplexTypeFor(type);
  +            m_type = getComplexTypeFor( type );
           }
           else
           {
  @@ -63,7 +63,7 @@
       /**
        * Creates a default value for this property.
        */
  -    public Object createValue( ConfigurationState state )
  +    public Object createValue( final ConfigurationState state )
           throws ConfigurationException
       {
           if( null == m_createMethod )
  @@ -101,7 +101,7 @@
       /**
        * Adds a value for this property, to an object.
        */
  -    public void addValue( ConfigurationState state, Object value )
  +    public void addValue( final ConfigurationState state, final Object value )
           throws ConfigurationException
       {
           final DefaultConfigurationState defState = (DefaultConfigurationState)state;
  @@ -113,7 +113,7 @@
           }
   
           // Make sure the creator method was called, if necessary
  -        if( pending == null && m_createMethod != null  )
  +        if( pending == null && m_createMethod != null )
           {
               final String message = REZ.getString( "must-be-element.error" );
               throw new ConfigurationException( message );
  @@ -134,7 +134,7 @@
               // Add the value
               if( null != m_addMethod )
               {
  -                m_addMethod.invoke( defState.getObject(), new Object[]{ value } );
  +                m_addMethod.invoke( defState.getObject(), new Object[]{value} );
               }
           }
           catch( final InvocationTargetException ite )
  
  
  

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