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

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

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

lektran
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 */