[jira] [Updated] (OFBIZ-7433) Enforce noninstantiability to UtilCacheEvents 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-7433) Enforce noninstantiability to UtilCacheEvents Class

Nicolas Malin (Jira)

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

Rishi Solanki updated OFBIZ-7433:
---------------------------------
    Summary: Enforce noninstantiability to UtilCacheEvents Class  (was: UtilCacheEvents Class)

> Enforce noninstantiability to UtilCacheEvents Class
> ---------------------------------------------------
>
>                 Key: OFBIZ-7433
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7433
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Arun Patidar
>            Priority: Minor
>         Attachments: OFBIZ-7433.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static variables as private
> {code}
>     public static final String err_resource = "WebtoolsErrorUiLabels";
> {code}
> Also, use 'err_resource' instead of UtilCacheEvents.err_resource in same class



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