Author: jleroux
Date: Sun Mar 28 18:32:32 2010
New Revision: 928470
URL:
http://svn.apache.org/viewvc?rev=928470&view=revLog:
Fix a bug reported by Qin Sheng on user ML. This wrong C/P was introduced by r585750
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java?rev=928470&r1=928469&r2=928470&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java Sun Mar 28 18:32:32 2010
@@ -770,7 +770,7 @@ public class ComponentConfig {
// load the init parameters
List<? extends Element> initParamList = UtilXml.childElementList(element, "init-param");
if (UtilValidate.isNotEmpty(initParamList)) {
- for (Element e: virtHostList) {
+ for (Element e: initParamList) {
this.initParameters.put(e.getAttribute("name"), e.getAttribute("value"));
}
}