Author: jacopoc
Date: Sun Jun 3 12:09:24 2007
New Revision: 543965
URL:
http://svn.apache.org/viewvc?view=rev&rev=543965Log:
Minor cleanup.
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java?view=diff&rev=543965&r1=543964&r2=543965==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java Sun Jun 3 12:09:24 2007
@@ -3387,7 +3387,6 @@
/** make a list of all OrderPaymentPreferences and Billing info including all payment methods and types */
public List makeAllOrderPaymentInfos(LocalDispatcher dispatcher) {
List allOpPrefs = new LinkedList();
- //double remainingAmount = this.getGrandTotal() - this.getPaymentTotal();
BigDecimal remainingAmount = new BigDecimal(this.getGrandTotal() - this.getPaymentTotal());
remainingAmount = remainingAmount.setScale(2, BigDecimal.ROUND_HALF_UP);
if (getBillingAccountId() != null) {