commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1125732 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/NestedPropertiesBuilder.java
Date Sat, 21 May 2011 15:45:38 GMT
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;
     }



Mime
View raw message