Author: arunpatidar
Date: Mon Jun 27 14:20:13 2016
New Revision: 1750346
URL:
http://svn.apache.org/viewvc?rev=1750346&view=revLog:
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);
}