You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2006/12/09 13:11:48 UTC

svn commit: r484973 - /incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java

Author: jleroux
Date: Sat Dec  9 04:11:44 2006
New Revision: 484973

URL: http://svn.apache.org/viewvc?view=rev&rev=484973
Log:
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);