incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
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 GMT
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;
   }
 



Mime
View raw message