Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3ED244CB6 for ; Sat, 21 May 2011 15:46:00 +0000 (UTC) Received: (qmail 37059 invoked by uid 500); 21 May 2011 15:45:59 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 37002 invoked by uid 500); 21 May 2011 15:45:59 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 36995 invoked by uid 99); 21 May 2011 15:45:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 May 2011 15:45:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 May 2011 15:45:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7893123889B1; Sat, 21 May 2011 15:45:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110521154538.7893123889B1@eris.apache.org> 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; }