[Yanel-commits] rev 28460 - public/yanel/trunk/src/core/java/org/wyona/yanel/core/util

michi at wyona.com michi at wyona.com
Mon Nov 5 00:24:28 CET 2007


Author: michi
Date: 2007-11-05 00:24:27 +0100 (Mon, 05 Nov 2007)
New Revision: 28460

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/ConfigurationUtil.java
Log:
configuration re getValue fixed

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/ConfigurationUtil.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/ConfigurationUtil.java	2007-11-04 23:16:16 UTC (rev 28459)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/ConfigurationUtil.java	2007-11-04 23:24:27 UTC (rev 28460)
@@ -64,7 +64,7 @@
 
             // Copy the very first text node in order to stay backwards compatible
             Element rootElement = doc.getDocumentElement();
-            if (repoConfigElement.getValue() != null) {
+            if (repoConfigElement.getValue(null) != null) {
                 if (log.isDebugEnabled()) log.debug("Very first text node: " + repoConfigElement.getValue());
                 rootElement.appendChild(doc.createTextNode(repoConfigElement.getValue()));
             }



More information about the Yanel-commits mailing list