Author: doogie
Date: Wed Oct 17 19:59:02 2007
New Revision: 585806
URL:
http://svn.apache.org/viewvc?rev=585806&view=revLog:
No need to use + when a StringBuilder already exists.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaCondition.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaCondition.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaCondition.java?rev=585806&r1=585805&r2=585806&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaCondition.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/eca/ServiceEcaCondition.java Wed Oct 17 19:59:02 2007
@@ -173,15 +173,15 @@
public String toString() {
StringBuilder buf = new StringBuilder();
- buf.append("[" + conditionService + "]");
- buf.append("[" + lhsMapName + "]");
- buf.append("[" + lhsValueName + "]");
- buf.append("[" + operator + "]");
- buf.append("[" + rhsMapName + "]");
- buf.append("[" + rhsValueName + "]");
- buf.append("[" + isConstant + "]");
- buf.append("[" + compareType + "]");
- buf.append("[" + format + "]");
+ buf.append("[").append(conditionService).append("]");
+ buf.append("[").append(lhsMapName).append("]");
+ buf.append("[").append(lhsValueName).append("]");
+ buf.append("[").append(operator).append("]");
+ buf.append("[").append(rhsMapName).append("]");
+ buf.append("[").append(rhsValueName).append("]");
+ buf.append("[").append(isConstant).append("]");
+ buf.append("[").append(compareType).append("]");
+ buf.append("[").append(format).append("]");
return buf.toString();
}
}