svn commit: r585523 - /ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java

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

svn commit: r585523 - /ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java

doogie-3
Author: doogie
Date: Wed Oct 17 07:39:12 2007
New Revision: 585523

URL: http://svn.apache.org/viewvc?rev=585523&view=rev
Log:
toString() would always append the first classpath element, for each
element in it's list; in other words, it wasn't using the loop index
variable i, but was using the constant 0 each time.  Closes:
https://issues.apache.org/jira/browse/OFBIZ-1308.

Modified:
    ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java

Modified: ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java?rev=585523&r1=585522&r2=585523&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java (original)
+++ ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java Wed Oct 17 07:39:12 2007
@@ -107,7 +107,7 @@
         }
         for (int i = 1; i < cnt; i++) {
             cp.append(File.pathSeparatorChar);
-            appendPath(cp, ((File) (_elements.get(0))).getPath());
+            appendPath(cp, ((File) (_elements.get(i))).getPath());
         }
         return cp.toString();
     }