svn commit: r1750533 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/spreadsheetimport/ImportProductHelper.java

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

svn commit: r1750533 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/spreadsheetimport/ImportProductHelper.java

Arun Patidar-4
Author: arunpatidar
Date: Tue Jun 28 15:05:47 2016
New Revision: 1750533

URL: http://svn.apache.org/viewvc?rev=1750533&view=rev
Log:
Applied patch from jira issue - OFBIZ-7455 - Enforce noninstantiability to ImportProductHelper Class. Thanks Rishi Solanki and Chinmay Patidar for your contribution.

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/spreadsheetimport/ImportProductHelper.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/spreadsheetimport/ImportProductHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/spreadsheetimport/ImportProductHelper.java?rev=1750533&r1=1750532&r2=1750533&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/spreadsheetimport/ImportProductHelper.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/spreadsheetimport/ImportProductHelper.java Tue Jun 28 15:05:47 2016
@@ -29,9 +29,10 @@ import org.ofbiz.entity.GenericEntityExc
 import org.ofbiz.entity.GenericValue;
 import org.ofbiz.entity.util.EntityQuery;
 
-public class ImportProductHelper {
+public final class ImportProductHelper {
 
-    static String module = ImportProductHelper.class.getName();
+    public static final String module = ImportProductHelper.class.getName();
+    private ImportProductHelper() {}
 
     // prepare the product map
     public static Map<String, Object> prepareProduct(String productId) {