[jira] [Created] (OFBIZ-7812) Enforce noninstantiability to DatabaseUtil class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-7812) Enforce noninstantiability to DatabaseUtil class

Nicolas Malin (Jira)
Arun Patidar created OFBIZ-7812:
-----------------------------------

             Summary: Enforce noninstantiability to DatabaseUtil class
                 Key: OFBIZ-7812
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7812
             Project: OFBiz
          Issue Type: Sub-task
          Components: framework
            Reporter: Arun Patidar
            Priority: Minor


- Make class as final.
- Add a private constructor.
- Make following protected variable as private
{code}
      protected ModelFieldTypeReader modelFieldTypeReader = null;
    protected Datasource datasourceInfo = null;
    protected GenericHelperInfo helperInfo = null;

    // Legacy Connections
    protected String connectionUrl = null;
    protected String driverName = null;
    protected String userName = null;
    protected String password = null;
{code}





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