svn commit: r1751324 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java

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

svn commit: r1751324 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java

Arun Patidar-4
Author: arunpatidar
Date: Mon Jul  4 15:50:27 2016
New Revision: 1751324

URL: http://svn.apache.org/viewvc?rev=1751324&view=rev
Log:
Applied patch from jira issue - OFBIZ-7740 - Enforce noninstantiability to EntityUtilProperties class. Thanks Rohit Koushal for your contribution.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java?rev=1751324&r1=1751323&r2=1751324&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java Mon Jul  4 15:50:27 2016
@@ -44,11 +44,13 @@ import org.ofbiz.entity.GenericEntityExc
 import org.ofbiz.entity.GenericValue;
 
 @SuppressWarnings("serial")
-public class EntityUtilProperties implements Serializable {
+public final class EntityUtilProperties implements Serializable {
 
     public final static String module = EntityUtilProperties.class.getName();
+    
+    private EntityUtilProperties () {}
 
-    protected static Map<String, String> getSystemPropertyValue(String resource, String name, Delegator delegator) {
+    private static Map<String, String> getSystemPropertyValue(String resource, String name, Delegator delegator) {
         Map<String, String> results = new HashMap<>();
         results.put("isExistInDb", "N");
         results.put("value", "");