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:50:27 UTC
svn commit: r1751324 -
/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtilProperties.java
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", "");