You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Arun Patidar (JIRA)" <ji...@apache.org> on 2016/08/02 14:10:20 UTC

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

     [ https://issues.apache.org/jira/browse/OFBIZ-7802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun Patidar reassigned OFBIZ-7802:
-----------------------------------

    Assignee: Arun Patidar  (was: Chinmay Patidar)

> 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
>            Assignee: Arun Patidar
>            Priority: Minor
>         Attachments: OFBIZ-7802.patch
>
>
> - 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)