Author: lektran
Date: Thu Sep 13 23:29:06 2007
New Revision: 575558

URL: http://svn.apache.org/viewvc?rev=575558&view=rev
Log:
Removed a couple of methods which have been deprecated for over 2 years

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=575558&r1=575557&r2=575558&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 
Thu Sep 13 23:29:06 2007
@@ -331,11 +331,6 @@
         return ((GenericValue) orderTerms.get(0)).getLong("termDays");
     }
 
-    /** @deprecated */
-    public String getShippingMethod() {
-        throw new IllegalArgumentException("You must call the 
getShippingMethod method with the shipGroupdSeqId parameter, this is no londer 
supported since a single OrderShipmentPreference is no longer used.");
-    }
-
     public String getShippingMethod(String shipGroupSeqId) {
         try {
             GenericValue shipGroup = 
orderHeader.getDelegator().findByPrimaryKey("OrderItemShipGroup",
@@ -358,11 +353,6 @@
             Debug.logWarning(e, module);
         }
         return "";
-    }
-
-    /** @deprecated */
-    public String getShippingMethodCode() {
-        throw new IllegalArgumentException("You must call the 
getShippingMethodCode method with the shipGroupdSeqId parameter, this is no 
londer supported since a single OrderShipmentPreference is no longer used.");
     }
 
     public String getShippingMethodCode(String shipGroupSeqId) {


Reply via email to