[jira] [Updated] (OFBIZ-7450) Enforce noninstantiability to ProductUtilServices class

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

[jira] [Updated] (OFBIZ-7450) Enforce noninstantiability to ProductUtilServices class

Nicolas Malin (Jira)

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

Pierre Smits updated OFBIZ-7450:
--------------------------------
    Summary: Enforce noninstantiability to ProductUtilServices class  (was: ProductUtilServices class)

> Enforce noninstantiability to ProductUtilServices class
> -------------------------------------------------------
>
>                 Key: OFBIZ-7450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7450
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: OFBIZ-7450.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static variables as private
> {code}
>     public static final String resource = "ProductUiLabels";
>     public static final String resourceError = "ProductErrorUiLabels";
> {code}
> No variables needs to be change for this class.



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