Author: arunpatidar
Date: Mon Jun 27 14:05:17 2016
New Revision: 1750342
URL:
http://svn.apache.org/viewvc?rev=1750342&view=revLog:
Applied patch from jira issue - OFBIZ-7399 - Enforce noninstantiability to ReportHelper Class. Thanks Rishi Solanki and Aman Mishra for your contribution.
Modified:
ofbiz/trunk/applications/marketing/src/org/ofbiz/marketing/report/ReportHelper.java
Modified: ofbiz/trunk/applications/marketing/src/org/ofbiz/marketing/report/ReportHelper.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/src/org/ofbiz/marketing/report/ReportHelper.java?rev=1750342&r1=1750341&r2=1750342&view=diff==============================================================================
--- ofbiz/trunk/applications/marketing/src/org/ofbiz/marketing/report/ReportHelper.java (original)
+++ ofbiz/trunk/applications/marketing/src/org/ofbiz/marketing/report/ReportHelper.java Mon Jun 27 14:05:17 2016
@@ -30,10 +30,12 @@ import org.ofbiz.entity.util.EntityUtil;
/**
* Marketing Report Helper
*/
-public class ReportHelper {
+public final class ReportHelper {
public static final String module = ReportHelper.class.getName();
+ private ReportHelper() {}
+
/**
* Calculate conversion rates based on a List of visits and orders. Designed to be used for reporting on
* tracking code or marketing campaigns