Applied patch from jira issue - OFBIZ-7450 - Enforce noninstantiability to ProductUtilServices Class. Thanks Rishi Solanki and Pratik Kulshreshthfor your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750531 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -54,11 +54,13 @@ import org.ofbiz.service.ServiceUtil;
|
||||
/**
|
||||
* Product Services
|
||||
*/
|
||||
public class ProductUtilServices {
|
||||
public final class ProductUtilServices {
|
||||
|
||||
public static final String module = ProductUtilServices.class.getName();
|
||||
public static final String resource = "ProductUiLabels";
|
||||
public static final String resourceError = "ProductErrorUiLabels";
|
||||
private static final String resource = "ProductUiLabels";
|
||||
private static final String resourceError = "ProductErrorUiLabels";
|
||||
|
||||
private ProductUtilServices () {}
|
||||
|
||||
/** First expire all ProductAssocs for all disc variants, then disc all virtuals that have all expired variant ProductAssocs */
|
||||
public static Map<String, Object> discVirtualsWithDiscVariants(DispatchContext dctx, Map<String, ? extends Object> context) {
|
||||
|
||||
Reference in New Issue
Block a user