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/container/src/java/org/apache/myrmidon/components/configurer PropertyConfigurer.java
Date Fri, 05 Jul 2002 03:32:53 GMT
donaldp     2002/07/04 20:32:53

  Modified:    container/src/java/org/apache/myrmidon/components/configurer
                        PropertyConfigurer.java
  Log:
  Remove redundent typecast/variable declaration
  
  Revision  Changes    Path
  1.9       +2 -4      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/configurer/PropertyConfigurer.java
  
  Index: PropertyConfigurer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/configurer/PropertyConfigurer.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- PropertyConfigurer.java	25 Jun 2002 00:20:15 -0000	1.8
  +++ PropertyConfigurer.java	5 Jul 2002 03:32:53 -0000	1.9
  @@ -64,12 +64,10 @@
       void addValue( final ConfigurationState state, final Object value )
           throws ModelException
       {
  -        final ConfigurationState defState = (ConfigurationState)state;
  -
           try
           {
               // Add the value
  -            m_method.invoke( defState.getObject(), new Object[]{value} );
  +            m_method.invoke( state.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