Browse Source

Restyled

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270964 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
9eca90e207
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultPropertyConfigurer.java

+ 6
- 6
proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultPropertyConfigurer.java View File

@@ -39,9 +39,9 @@ class DefaultPropertyConfigurer
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 @@ class DefaultPropertyConfigurer
/**
* 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 @@ class DefaultPropertyConfigurer
/**
* 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 @@ class DefaultPropertyConfigurer
}

// 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 @@ class DefaultPropertyConfigurer
// 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 )


Loading…
Cancel
Save