svn commit: r1814230 - /ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericEntity.java

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

svn commit: r1814230 - /ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericEntity.java

mbrohl
Author: mbrohl
Date: Fri Nov  3 17:47:41 2017
New Revision: 1814230

URL: http://svn.apache.org/viewvc?rev=1814230&view=rev
Log:
Fixed: Corrected wrong FindBugs/refactoring change introduced in
r1813640.
(OFBIZ-9716)

Thanks Suraj Khurana for reporting and Dennis Balkir for providing the
patch.

Modified:
    ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericEntity.java

Modified: ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericEntity.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericEntity.java?rev=1814230&r1=1814229&r2=1814230&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericEntity.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericEntity.java Fri Nov  3 17:47:41 2017
@@ -637,7 +637,7 @@ public class GenericEntity implements Ma
         Object obj = get(name);
 
         if (obj == null) {
-            return false;
+            return null;
         }
         if (obj instanceof Boolean) {
             return (Boolean) obj;