[jira] [Created] (OFBIZ-7802) Enforce noninstantiability to ProductWorker class

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

[jira] [Created] (OFBIZ-7802) Enforce noninstantiability to ProductWorker class

Nicolas Malin (Jira)
Rishi Solanki created OFBIZ-7802:
------------------------------------

             Summary: Enforce noninstantiability to ProductWorker class
                 Key: OFBIZ-7802
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7802
             Project: OFBiz
          Issue Type: Sub-task
          Components: product
    Affects Versions: Trunk
            Reporter: Rishi Solanki
            Priority: Minor


- Make class as final.
- Private constructor already exists, by making it final we just matching the patterns from other utility classes.
- Make following public static final variables as private;
{code}
    public static final String resource = "ProductUiLabels";

    public static final MathContext generalRounding = new MathContext(10);

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)