You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/05/21 17:45:38 UTC
svn commit: r1125732 -
/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java
Author: simonetripodi
Date: Sat May 21 15:45:38 2011
New Revision: 1125732
URL: http://svn.apache.org/viewvc?rev=1125732&view=rev
Log:
removed wrong check, null 'propertyName' are admitted
Modified:
commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java
Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java?rev=1125732&r1=1125731&r2=1125732&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java (original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java Sat May 21 15:45:38 2011
@@ -77,14 +77,7 @@ public final class NestedPropertiesBuild
}
else
{
- if ( propertyName == null )
- {
- reportError( "setNestedProperties().addAlias( String,String )", "empty 'propertyName' not allowed" );
- }
- else
- {
- elementNames.put( elementName, propertyName );
- }
+ elementNames.put( elementName, propertyName );
}
return this;
}