svn commit: r932169 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java

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

svn commit: r932169 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java

lektran
Author: lektran
Date: Thu Apr  8 23:14:02 2010
New Revision: 932169

URL: http://svn.apache.org/viewvc?rev=932169&view=rev
Log:
Remove an unnecessary null assignment

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java?rev=932169&r1=932168&r2=932169&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java Thu Apr  8 23:14:02 2010
@@ -112,8 +112,6 @@ public class DataResourceWorker  impleme
         String matchValue = null;
         if (parentCategoryId != null) {
             matchValue = parentCategoryId;
-        } else {
-            matchValue = null;
         }
         List<GenericValue> categoryValues = delegator.findByAndCache("DataCategory", UtilMisc.toMap("parentCategoryId", matchValue));
         categoryNode.put("count", Integer.valueOf(categoryValues.size()));