svn commit: r1751329 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceUtil.java

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

svn commit: r1751329 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/calendar/RecurrenceUtil.java

Arun Patidar-4
Author: arunpatidar
Date: Mon Jul  4 16:05:26 2016
New Revision: 1751329

URL: http://svn.apache.org/viewvc?rev=1751329&view=rev
Log:
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) {