svn commit: r928269 - /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: r928269 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java

lektran
Author: lektran
Date: Sat Mar 27 20:51:15 2010
New Revision: 928269

URL: http://svn.apache.org/viewvc?rev=928269&view=rev
Log:
Deprecated org.ofbiz.product.product.ProductWorker.getCurrentProductCategories(Delegator, GenericValue) use 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=928269&r1=928268&r2=928269&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 Sat Mar 27 20:51:15 2010
@@ -690,7 +690,15 @@ public class ProductWorker {
         return getCurrentProductCategories(delegator, product);
     }
 
-    public static List<GenericValue> getCurrentProductCategories(Delegator delegator, GenericValue product) {
+    /**
+     * @deprecated use getCurrentProductCategories(GenericValue) instead
+     */
+    @Deprecated
+    public static List<GenericValue> getCurrentProductCategories(@SuppressWarnings("unused") Delegator delegator, GenericValue product) {
+        return getCurrentProductCategories(product);
+    }
+
+    public static List<GenericValue> getCurrentProductCategories(GenericValue product) {
         if (product == null) {
             return null;
         }