Author: jleroux
Date: Sat Dec 9 04:11:44 2006
New Revision: 484973
URL:
http://svn.apache.org/viewvc?view=rev&rev=484973Log:
A patch from Stefan Huehner "Code-Cleanup: remove superflous new String and .toString() calls" (
https://issues.apache.org/jira/browse/OFBIZ-533).
This file was missing because of a conflict now resolved
Modified:
incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java
Modified: incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java?view=diff&rev=484973&r1=484972&r2=484973==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java (original)
+++ incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java Sat Dec 9 04:11:44 2006
@@ -731,7 +731,7 @@
// transaction number
String termTxNo = (String) context.get("TermTxnNo");
if (termTxNo == null) {
- termTxNo = delegator.getNextSeqId("ValueLinkKey").toString();
+ termTxNo = delegator.getNextSeqId("ValueLinkKey");
}
request.put("TermTxnNo", termTxNo);