Author: arunpatidar
Date: Mon Jul  4 15:04:00 2016
New Revision: 1751305

URL: http://svn.apache.org/viewvc?rev=1751305&view=rev
Log:
Applied patch from jira issue - OFBIZ-7710 - Enforce noninstantiability to 
EntityFinderUtil class. Thanks Rishi Solanki and Rohit Koushal for your 
contribution.

Modified:
    
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java

Modified: 
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java?rev=1751305&r1=1751304&r2=1751305&view=diff
==============================================================================
--- 
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java 
(original)
+++ 
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java 
Mon Jul  4 15:04:00 2016
@@ -55,10 +55,12 @@ import org.w3c.dom.Element;
  * Uses the delegator to find entity values by a condition
  *
  */
-public class EntityFinderUtil {
+public final class EntityFinderUtil {
 
     public static final String module = EntityFinderUtil.class.getName();
 
+    private EntityFinderUtil () {}
+
     public static Map<FlexibleMapAccessor<Object>, Object> 
makeFieldMap(Element element) {
         Map<FlexibleMapAccessor<Object>, Object> fieldMap = null;
         List<? extends Element> fieldMapElementList = 
UtilXml.childElementList(element, "field-map");


Reply via email to