Author: mrisaliti
Date: Mon Feb 7 20:35:14 2011
New Revision: 1068110
URL:
http://svn.apache.org/viewvc?rev=1068110&view=revLog:
Remove compilation warnings of an unused variable in CategoryWorker (OFBIZ-4102)
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=1068110&r1=1068109&r2=1068110&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 Mon Feb 7 20:35:14 2011
@@ -270,7 +270,9 @@ 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);
+ //FIXME can be removed ?
+ // String deadCat = trail.remove(i);
//if (Debug.infoOn()) Debug.logInfo("[CategoryWorker.setTrail] Removed after current category index: " + i + " catname: " + deadCat, module);
}
}
@@ -299,7 +301,9 @@ public class CategoryWorker {
int index = trail.indexOf(previousCategoryId);
if (index < (trail.size() - 1)) {
for (int i = trail.size() - 1; i > index; i--) {
- String deadCat = trail.remove(i);
+ trail.remove(i);
+ //FIXME can be removed ?
+ // String deadCat = trail.remove(i);
//if (Debug.infoOn()) Debug.logInfo("[CategoryWorker.setTrail] Removed after current category index: " + i + " catname: " + deadCat, module);
}
}