Author: arunpatidar
Date: Mon Jul 4 16:05:26 2016
New Revision: 1751329
URL:
http://svn.apache.org/viewvc?rev=1751329&view=revLog:
Applied patch from jira issue - OFBIZ-7685 - Enforce noninstantiability to RecurrenceUtil class. Thanks Rohit Koushal and Pratik Kulshreshth for your contribution.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceUtil.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceUtil.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceUtil.java?rev=1751329&r1=1751328&r2=1751329&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceUtil.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceUtil.java Mon Jul 4 16:05:26 2016
@@ -29,7 +29,9 @@ import com.ibm.icu.util.Calendar;
/**
* Recurrence Utilities
*/
-public class RecurrenceUtil {
+public final class RecurrenceUtil {
+
+ private RecurrenceUtil () {}
/** Returns a Date object from a String. */
public static Date parseDate(String dateStr) {