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

Nicolas Malin (Jira)

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

Aman Mishra updated OFBIZ-7806:
-------------------------------
    Attachment: OFBIZ-7806.patch

Thanks [~arunpati] for the details. Provided the patch for the changes.

> Enforce noninstantiability to UtilProperties class
> --------------------------------------------------
>
>                 Key: OFBIZ-7806
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7806
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Arun Patidar
>            Assignee: Arun Patidar
>            Priority: Minor
>         Attachments: OFBIZ-7806.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make following protected variable as private
> {code}
>     protected static Set<String> resourceNotFoundMessagesShown = new HashSet<String>();
> {code}



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