svn commit: r926855 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java

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

svn commit: r926855 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java

lektran
Author: lektran
Date: Tue Mar 23 23:39:07 2010
New Revision: 926855

URL: http://svn.apache.org/viewvc?rev=926855&view=rev
Log:
Remove unused variable assignments

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java?rev=926855&r1=926854&r2=926855&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java Tue Mar 23 23:39:07 2010
@@ -273,7 +273,7 @@ public class CategoryWorker {
 
                 if (cindex < (trail.size() - 1)) {
                     for (int i = trail.size() - 1; i > cindex; i--) {
-                        String deadCat = trail.remove(i);
+                        trail.remove(i);
                         //if (Debug.infoOn()) Debug.logInfo("[CategoryWorker.setTrail] Removed after current category index: " + i + " catname: " + deadCat, module);
                     }
                 }
@@ -303,7 +303,7 @@ public class CategoryWorker {
 
             if (index < (trail.size() - 1)) {
                 for (int i = trail.size() - 1; i > index; i--) {
-                    String deadCat = trail.remove(i);
+                    trail.remove(i);
                     //if (Debug.infoOn()) Debug.logInfo("[CategoryWorker.setTrail] Removed after previous category index: " + i + " catname: " + deadCat, module);
                 }
             }