Author: lektran
Date: Sat Mar 27 21:00:32 2010
New Revision: 928275
URL:
http://svn.apache.org/viewvc?rev=928275&view=revLog:
Removed a couple of redundant null assignments
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java?rev=928275&r1=928274&r2=928275&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java Sat Mar 27 21:00:32 2010
@@ -1579,7 +1579,6 @@ public class GenericDelegator implements
try {
value = helper.findByPrimaryKey(primaryKey);
} catch (GenericEntityNotFoundException e) {
- value = null;
}
if (value != null) {
value.setDelegator(this);
@@ -1707,7 +1706,6 @@ public class GenericDelegator implements
try {
value = helper.findByPrimaryKeyPartial(primaryKey, keys);
} catch (GenericEntityNotFoundException e) {
- value = null;
}
if (value != null) value.setDelegator(this);