Author: doogie
Date: Wed Oct 17 10:49:08 2007
New Revision: 585602
URL:
http://svn.apache.org/viewvc?rev=585602&view=revLog:
Switch toString to StringBuilder, from StringBuffer. Closes
https://issues.apache.org/jira/browse/OFBIZ-1311Modified:
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=585602&r1=585601&r2=585602&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 10:49:08 2007
@@ -77,7 +77,7 @@
}
- private void appendPath(StringBuffer cp, String path) {
+ private void appendPath(StringBuilder cp, String path) {
if(path.indexOf(' ') >= 0) {
cp.append('\"');
cp.append(path);
@@ -90,7 +90,7 @@
public String toString() {
- StringBuffer cp = new StringBuffer(1024);
+ StringBuilder cp = new StringBuilder(1024);
int cnt = _elements.size();
if (cnt >= 1) {
cp.append(((File) (_elements.get(0))).getPath());