svn commit: r928470 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r928470 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java

jleroux@apache.org
Author: jleroux
Date: Sun Mar 28 18:32:32 2010
New Revision: 928470

URL: http://svn.apache.org/viewvc?rev=928470&view=rev
Log:
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"));
                 }
             }