Author: arunpatidar
Date: Tue Jun 28 15:05:47 2016
New Revision: 1750533
URL:
http://svn.apache.org/viewvc?rev=1750533&view=revLog:
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) {