svn commit: r1750331 - /ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMHelper.java

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

svn commit: r1750331 - /ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMHelper.java

Arun Patidar-4
Author: arunpatidar
Date: Mon Jun 27 13:28:34 2016
New Revision: 1750331

URL: http://svn.apache.org/viewvc?rev=1750331&view=rev
Log:
Applied patch from jira issue - OFBIZ-7393 - Enforce noninstantiability to BOMHelper Class. Thanks Rishi Solanki and Pratik Kulshreshth  for your contribution.

Modified:
    ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMHelper.java

Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMHelper.java?rev=1750331&r1=1750330&r2=1750331&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMHelper.java (original)
+++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/bom/BOMHelper.java Mon Jun 27 13:28:34 2016
@@ -35,12 +35,12 @@ import org.ofbiz.service.LocalDispatcher
  * with product's bills of materials.
  * These methods are also available as services (see {@link BOMServices}).
  */
-public class BOMHelper {
+public final class BOMHelper {
 
     public static final String module = BOMHelper.class.getName();
 
     /** Creates a new instance of BOMHelper */
-    public BOMHelper() {
+    private BOMHelper() {
     }
 
     /** Returns the product's low level code (llc) i.e. the maximum depth