svn commit: r1751330 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/EntityGroupUtil.java

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

svn commit: r1751330 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/EntityGroupUtil.java

Arun Patidar-4
Author: arunpatidar
Date: Mon Jul  4 16:12:01 2016
New Revision: 1751330

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

Modified:
    ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/EntityGroupUtil.java

Modified: ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/EntityGroupUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/EntityGroupUtil.java?rev=1751330&r1=1751329&r2=1751330&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/EntityGroupUtil.java (original)
+++ ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/EntityGroupUtil.java Mon Jul  4 16:12:01 2016
@@ -34,10 +34,12 @@ import org.ofbiz.entity.util.EntityQuery
 /**
  * EntityEcaUtil
  */
-public class EntityGroupUtil {
+public final class EntityGroupUtil {
 
     public static final String module = EntityGroupUtil.class.getName();
 
+    private EntityGroupUtil () {}
+
     public static Set<String> getEntityNamesByGroup(String entityGroupId, Delegator delegator, boolean requireStampFields) throws GenericEntityException {
         Set<String> entityNames = new HashSet<String>();