You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2007/10/17 16:39:13 UTC

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

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();
     }