svn commit: r1750659 - /ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortWorker.java

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

svn commit: r1750659 - /ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortWorker.java

Arun Patidar-4
Author: arunpatidar
Date: Wed Jun 29 14:56:33 2016
New Revision: 1750659

URL: http://svn.apache.org/viewvc?rev=1750659&view=rev
Log:
Applied patch from jira issue - OFBIZ-7470 - Enforce noninstantiability to WorkEffortWorker class. Thanks Rishi Solanki and Aman Mishra for your contribution.

Modified:
    ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortWorker.java

Modified: ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortWorker.java?rev=1750659&r1=1750658&r2=1750659&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortWorker.java (original)
+++ ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortWorker.java Wed Jun 29 14:56:33 2016
@@ -33,10 +33,12 @@ import org.ofbiz.entity.util.EntityQuery
 
 
 /** WorkEffortWorker - Work Effort worker class. */
-public class WorkEffortWorker {
+public final class WorkEffortWorker {
 
     public static final String module = WorkEffortWorker.class.getName();
 
+    private WorkEffortWorker() {}
+
     public static List<GenericValue> getLowestLevelWorkEfforts(Delegator delegator, String workEffortId, String workEffortAssocTypeId) {
         return getLowestLevelWorkEfforts(delegator, workEffortId, workEffortAssocTypeId, "workEffortIdFrom", "workEffortIdTo");
     }