Author: lektran
Date: Sat Sep 15 22:21:20 2007
New Revision: 576033
URL:
http://svn.apache.org/viewvc?rev=576033&view=revLog:
Removed deprecated getOrderAdjustmentTotal() and renamed getOrderAdjustmentTotalBd()
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=576033&r1=576032&r2=576033&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:21:20 2007
@@ -1330,13 +1330,8 @@
return getOrderAdjustmentsTotal(getValidOrderItems(), getAdjustments());
}
- public BigDecimal getOrderAdjustmentTotalBd(GenericValue adjustment) {
+ public BigDecimal getOrderAdjustmentTotal(GenericValue adjustment) {
return calcOrderAdjustmentBd(adjustment, getOrderItemsSubTotalBd());
- }
-
- /** @deprecated Use getOrderAdjustmentsTotalBd() instead */
- public double getOrderAdjustmentTotal(GenericValue adjustment) {
- return getOrderAdjustmentTotalBd(adjustment).doubleValue();
}
public int hasSurvey() {