Author: lektran
Date: Tue Mar 23 23:39:01 2010
New Revision: 926854
URL:
http://svn.apache.org/viewvc?rev=926854&view=revLog:
Remove unnecessary null 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=926854&r1=926853&r2=926854&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:01 2010
@@ -148,7 +148,6 @@ public class CategoryWorker {
}
} catch (GenericEntityException e) {
Debug.logWarning(e.getMessage(), module);
- rollups = null;
}
if (UtilValidate.isNotEmpty(rollups)) {
// Debug.log("Rollup size: " + rollups.size(), module);
@@ -160,7 +159,6 @@ public class CategoryWorker {
cv = parent.getRelatedOneCache("CurrentProductCategory");
} catch (GenericEntityException e) {
Debug.logWarning(e.getMessage(), module);
- cv = null;
}
if (cv != null) {
if (excludeEmpty) {