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

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

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

Arun Patidar-4
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");