svn commit: r1750639 - /ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunHelper.java

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

svn commit: r1750639 - /ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunHelper.java

Arun Patidar-4
Author: arunpatidar
Date: Wed Jun 29 13:52:06 2016
New Revision: 1750639

URL: http://svn.apache.org/viewvc?rev=1750639&view=rev
Log:
Applied patch from jira issue - OFBIZ-7397 - Enforce noninstantiability to ProductionRunHelper Class. Thanks Rishi Solanki and Amit Gadaley for your contribution.

Modified:
    ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunHelper.java

Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunHelper.java?rev=1750639&r1=1750638&r2=1750639&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunHelper.java (original)
+++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunHelper.java Wed Jun 29 13:52:06 2016
@@ -37,11 +37,11 @@ import org.ofbiz.service.LocalDispatcher
  * Helper for Production Run maintenance
  *
  */
-public class ProductionRunHelper {
+public final class ProductionRunHelper {
 
     public static final String module = ProductionRunHelper.class.getName();
-    public static final String resource = "ManufacturingUiLabels";
 
+    private ProductionRunHelper() {}
 
     /**
      * Get a Production Run.