svn commit: r645968 - /ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/container/ComponentContainer.java

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

svn commit: r645968 - /ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/container/ComponentContainer.java

jleroux@apache.org
Author: jleroux
Date: Tue Apr  8 08:10:46 2008
New Revision: 645968

URL: http://svn.apache.org/viewvc?rev=645968&view=rev
Log:
Bugs fixes

Modified:
    ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/container/ComponentContainer.java

Modified: ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/container/ComponentContainer.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/container/ComponentContainer.java?rev=645968&r1=645967&r2=645968&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/container/ComponentContainer.java (original)
+++ ofbiz/branches/release4.0/framework/base/src/base/org/ofbiz/base/container/ComponentContainer.java Tue Apr  8 08:10:46 2008
@@ -170,7 +170,7 @@
                 for (int i = 0; i < subs.length; i++) {
                     try {
                         File componentPath = new File(parentPath.getCanonicalPath() + "/" + subs[i]);
-                        if (componentPath.isDirectory() && !sub.equals("CVS") && !sub.equals(".svn")) {
+                        if (componentPath.isDirectory() && !subs[i].equals("CVS") && !subs[i].equals(".svn")) {
                             // make sure we have a component configuraton file
                             String componentLocation = componentPath.getCanonicalPath();
                             File configFile = new File(componentLocation + "/ofbiz-component.xml");