svn commit: r543711 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r543711 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java

jacopoc
Author: jacopoc
Date: Sat Jun  2 00:16:59 2007
New Revision: 543711

URL: http://svn.apache.org/viewvc?view=rev&rev=543711
Log:
Removed unused variable and code: no functional changes.

Modified:
    ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java

Modified: ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java?view=diff&rev=543711&r1=543710&r2=543711
==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java Sat Jun  2 00:16:59 2007
@@ -1190,15 +1190,11 @@
                 // create any splits which are needed
                 if (authAmount.compareTo(amountThisCapture) == 1) {
                     BigDecimal splitAmount = authAmount.subtract(amountThisCapture);
-                    Map splitResp = null;
                     try {
                         Map splitCtx = UtilMisc.toMap("userLogin", userLogin, "orderPaymentPreference", paymentPref, "splitAmount", splitAmount);
                         dispatcher.addCommitService("processCaptureSplitPayment", splitCtx, true);
                     } catch (GenericServiceException e) {
                         Debug.logWarning(e, "Problem processing the capture split payment", module);
-                    }
-                    if (ServiceUtil.isError(splitResp)) {
-                        Debug.logWarning("Problem processing the capture split payment: " + ServiceUtil.getErrorMessage(splitResp), module);
                     }
                     Debug.logInfo("Captured: " + amountThisCapture + " Remaining (re-auth): " + splitAmount, module);
                 }