[
https://issues.apache.org/jira/browse/OFBIZ-7803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun Patidar reassigned OFBIZ-7803:
-----------------------------------
Assignee: Arun Patidar (was: Rohit Koushal)
> Enforce noninstantiability to UtilMisc class
> --------------------------------------------
>
> Key: OFBIZ-7803
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7803> Project: OFBiz
> Issue Type: Sub-task
> Components: framework
> Affects Versions: Trunk
> Reporter: Rishi Solanki
> Assignee: Arun Patidar
> Priority: Minor
> Attachments: OFBIZ-7803.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 BigDecimal ZERO_BD = BigDecimal.ZERO;
> {code}
> - Nothing needs to be change for the private static class as it follows all patterns;
> {code}
> // Private lazy-initializer class
> private static class LocaleHolder
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)