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

Nicolas Malin (Jira)

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

Rohit Koushal updated OFBIZ-7983:
---------------------------------
    Attachment: OFBIZ-7983.patch

Thanks [~rishisolankii] for details.  Here is the patch for the issue.

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



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