Author: arunpatidar
Date: Mon Jul 4 14:57:02 2016
New Revision: 1751304
URL:
http://svn.apache.org/viewvc?rev=1751304&view=revLog:
Applied patch from jira issue - OFBIZ-7600 - Enforce noninstantiability to UtilPlist class. Thanks Rishi Solanki for your contribution.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilPlist.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilPlist.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilPlist.java?rev=1751304&r1=1751303&r2=1751304&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilPlist.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilPlist.java Mon Jul 4 14:57:02 2016
@@ -36,12 +36,14 @@ import static org.ofbiz.base.util.UtilGe
* File Utilities
*
*/
-public class UtilPlist {
+public final class UtilPlist {
public static final String module = UtilPlist.class.getName();
+ private UtilPlist() {}
+
/** simple 4 char indentation */
- public static final String indentFourString = " ";
+ private static final String indentFourString = " ";
public static void writePlistProperty(String name, Object value, int indentLevel, PrintWriter writer) {
for (int i = 0; i < indentLevel; i++) writer.print(indentFourString);