You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2016/07/04 15:04:01 UTC

svn commit: r1751305 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java

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");