svn commit: r944178 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java

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

svn commit: r944178 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java

lektran
Author: lektran
Date: Fri May 14 09:47:00 2010
New Revision: 944178

URL: http://svn.apache.org/viewvc?rev=944178&view=rev
Log:
The following deprecated classes, constructors or methods have been removed:
org.ofbiz.product.product.ProductWorker.getProductvirtualVariantMethod(Delegator, String)
- Use ProductWorker.getProductVirtualVariantMethod(Delegator, String) instead
org.ofbiz.product.product.ProductWorker.getCurrentProductCategories(Delegator, GenericValue)
- Use ProductWorker.getCurrentProductCategories(GenericValue) instead

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java?rev=944178&r1=944177&r2=944178&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java Fri May 14 09:47:00 2010
@@ -396,14 +396,6 @@ public class ProductWorker {
         return features;
     }
 
-    /**
-     * @deprecated Deprecated due to typo, use getProductVirtualVariantMethod(Delegator, String) instead
-     */
-    @Deprecated
-    public static String getProductvirtualVariantMethod(Delegator delegator, String productId) {
-        return getProductVirtualVariantMethod(delegator, productId);
-    }
-
     public static String getProductVirtualVariantMethod(Delegator delegator, String productId) {
         GenericValue product = null;
         try {
@@ -690,14 +682,6 @@ public class ProductWorker {
         return getCurrentProductCategories(product);
     }
 
-    /**
-     * @deprecated use getCurrentProductCategories(GenericValue) instead
-     */
-    @Deprecated
-    public static List<GenericValue> getCurrentProductCategories(Delegator delegator, GenericValue product) {
-        return getCurrentProductCategories(product);
-    }
-
     public static List<GenericValue> getCurrentProductCategories(GenericValue product) {
         if (product == null) {
             return null;