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

Nicolas Malin (Jira)

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

Pierre Smits updated OFBIZ-7479:
--------------------------------
    Summary: Enforce noninstantiability to BshUtil class  (was: BshUtil class)

> Enforce noninstantiability to BshUtil class
> -------------------------------------------
>
>                 Key: OFBIZ-7479
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7479
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: OFBIZ-7479.patch
>
>
> - Add a private constructor.
> - Make the following protected variables as private
> {code}
>     protected static ConcurrentHashMap<ClassLoader, BshClassManager> masterClassManagers = new ConcurrentHashMap<ClassLoader, BshClassManager>();
> {code}



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