You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2007/09/16 07:25:01 UTC

svn commit: r576034 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java

Author: lektran
Date: Sat Sep 15 22:25:01 2007
New Revision: 576034

URL: http://svn.apache.org/viewvc?rev=576034&view=rev
Log:
Removed deprecated getOrderReturnedQuantity() and renamed getOrderReturnedQuantityBd()

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java?rev=576034&r1=576033&r2=576034&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java Sat Sep 15 22:25:01 2007
@@ -1735,7 +1735,7 @@
     * Get the total quantity of returned items for an order. This will count
     * only the ReturnItems that are directly correlated to an OrderItem.
     */
-    public BigDecimal getOrderReturnedQuantityBd() {
+    public BigDecimal getOrderReturnedQuantity() {
         List returnedItemsBase = getOrderReturnItems();
         List returnedItems = new ArrayList(returnedItemsBase.size());
 
@@ -1765,11 +1765,6 @@
             }
         }
         return returnedQuantity.setScale(scale, rounding);
-    }
-
-    /** @deprecated */
-    public double getOrderReturnedQuantity() {
-        return getOrderReturnedQuantityBd().doubleValue();
     }
 
     /** @deprecated */