[Yanel-commits] rev 28500 -
public/yanel/trunk/src/core/java/org/wyona/yanel/core/util
michi at wyona.com
michi at wyona.com
Mon Nov 5 16:29:06 CET 2007
Author: michi
Date: 2007-11-05 16:29:05 +0100 (Mon, 05 Nov 2007)
New Revision: 28500
Modified:
public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/ConfigurationUtil.java
Log:
null pointer 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-05 15:28:40 UTC (rev 28499)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/ConfigurationUtil.java 2007-11-05 15:29:05 UTC (rev 28500)
@@ -46,7 +46,7 @@
public static Document getCustomConfiguration(Configuration repoConfigElement, String rootName, String rootNamespace) {
try {
if (repoConfigElement == null || repoConfigElement.getChildren() == null || repoConfigElement.getChildren().length == 0) {
- if (repoConfigElement.getValue() == null) {
+ if (repoConfigElement.getValue(null) == null) {
log.warn("Did not find any child elements nor text within " + repoConfigElement);
return null;
}
More information about the Yanel-commits
mailing list