[ https://issues.apache.org/jira/browse/OFBIZ-7812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380549#comment-15380549 ]
Rahul Singh commented on OFBIZ-7812: ------------------------------------ DatabaseUtil class constructor was used in various other classes so closing this issue. > 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)