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 16:12:01 UTC

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

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