svn commit: r1750346 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderChangeHelper.java

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

svn commit: r1750346 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderChangeHelper.java

Arun Patidar-4
Author: arunpatidar
Date: Mon Jun 27 14:20:13 2016
New Revision: 1750346

URL: http://svn.apache.org/viewvc?rev=1750346&view=rev
Log:
Applied patch from jira issue - OFBIZ-7401 - Enforce noninstantiability to OrderChangeHelper Class. Thanks Rishi Solanki and Anurag Chandak  for your contribution.

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderChangeHelper.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderChangeHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderChangeHelper.java?rev=1750346&r1=1750345&r2=1750346&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderChangeHelper.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderChangeHelper.java Mon Jun 27 14:20:13 2016
@@ -37,10 +37,12 @@ import org.ofbiz.service.ServiceUtil;
 /**
  * Order Helper - Helper Methods For Non-Read Actions
  */
-public class OrderChangeHelper {
+public final class OrderChangeHelper {
 
     public static final String module = OrderChangeHelper.class.getName();
 
+    private OrderChangeHelper() {}
+
     public static boolean approveOrder(LocalDispatcher dispatcher, GenericValue userLogin, String orderId) {
         return approveOrder(dispatcher, userLogin, orderId, false);
     }