Return-Path: Delivered-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Received: (qmail 91855 invoked from network); 26 Jul 2010 09:01:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jul 2010 09:01:14 -0000 Received: (qmail 35979 invoked by uid 500); 26 Jul 2010 09:01:14 -0000 Delivered-To: apmail-incubator-connectors-commits-archive@incubator.apache.org Received: (qmail 35496 invoked by uid 500); 26 Jul 2010 09:01:13 -0000 Mailing-List: contact connectors-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-commits@incubator.apache.org Received: (qmail 35165 invoked by uid 99); 26 Jul 2010 09:01:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 09:01:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Mon, 26 Jul 2010 09:01:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 007832388A39; Mon, 26 Jul 2010 09:00:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r979203 - /incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ConfigurationNode.java Date: Mon, 26 Jul 2010 09:00:19 -0000 To: connectors-commits@incubator.apache.org From: kwright@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100726090020.007832388A39@eris.apache.org> Author: kwright Date: Mon Jul 26 09:00:19 2010 New Revision: 979203 URL: http://svn.apache.org/viewvc?rev=979203&view=rev Log: Don't force a node value to null if it is empty; just leaving it alone should be fine. Modified: incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ConfigurationNode.java Modified: incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ConfigurationNode.java URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ConfigurationNode.java?rev=979203&r1=979202&r2=979203&view=diff ============================================================================== --- incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ConfigurationNode.java (original) +++ incubator/lcf/trunk/modules/framework/core/org/apache/lcf/core/interfaces/ConfigurationNode.java Mon Jul 26 09:00:19 2010 @@ -143,8 +143,6 @@ public class ConfigurationNode { if (readOnly) throw new IllegalStateException("Attempt to change read-only object"); - if (value != null && value.length() == 0) - value = null; this.value = value; }