Author: arunpatidar
Date: Tue Aug 2 14:26:33 2016
New Revision: 1754937
URL:
http://svn.apache.org/viewvc?rev=1754937&view=revLog:
Applied patch from jira issue - OFBIZ-7803 - Enforce noninstantiability to UtilMisc class. Thanks Rohit Koushal and Rishi Solanki for your contribution.
Modified:
ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java
Modified: ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java?rev=1754937&r1=1754936&r2=1754937&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java (original)
+++ ofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java Tue Aug 2 14:26:33 2016
@@ -45,11 +45,11 @@ import org.apache.ofbiz.base.util.collec
/**
* UtilMisc - Misc Utility Functions
*/
-public class UtilMisc {
+public final class UtilMisc {
public static final String module = UtilMisc.class.getName();
- public static final BigDecimal ZERO_BD = BigDecimal.ZERO;
+ private static final BigDecimal ZERO_BD = BigDecimal.ZERO;
private UtilMisc () {}