[jira] [Updated] (OFBIZ-7912) Enforce noninstantiability to ServiceUtil 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-7912) Enforce noninstantiability to ServiceUtil class

Nicolas Malin (Jira)

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

Pratik Kulshreshth updated OFBIZ-7912:
--------------------------------------
    Attachment: OFBIZ-7912.patch

Uploaded patch for this task.
Thanks [~rishisolankii] for description.

> Enforce noninstantiability to ServiceUtil class
> -----------------------------------------------
>
>                 Key: OFBIZ-7912
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7912
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: OFBIZ-7912.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make following public static final variables as private;
> {code}
>     public static final String resource = "ServiceErrorUiLabels";
> {code}



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