Project: talenddataquality
Issue TDQ-9571: code refactor:Remove some unuseful classes and functions
After some code refactor,there are some functions are deprecated. 1.Currently,we reuse DI code to create database.we could remove these unuseful classes: - org.talend.dataprofiler.core.ui.wizard.database.DatabaseConnectionWizard - org.talend.dataprofiler.core.ui.wizard.database.DatabaseMetadataWizardPage - org.talend.dataprofiler.core.ui.wizard.database.DatabaseWizardPage 2. in org.talend.cwm.db.connection.ConnectionUtils.java,we can remove these functions: - existTable(String url, String driver, Properties props, String tableName, String schema);(it is't called) - checkConnection(String url, String driverClassName, Properties props) - createConnection(String url, String driverClassName, Properties props) - createConnectionWithTimeout(Driver driver, String url, Properties props) - getClassDriverFromSQLExplorer(String driverClassName, Properties props) There isn't any palce call them: - fillConnectionInformation(List conns) - fillDbConnectionInformation(DatabaseConnection dbConn) - fillAttributeBetweenConnection(Connection target, Connection source) 3.in plugin net.sourceforge.sqlexplorer - SqlExplorerUtils.getClassDriverFromSQLExplorer(String driverClassName, Properties props) - ISqlexplorerService.getClassDriverFromSQLExplorer(String driverClassName, Properties props) - SqlexplorerService.getClassDriverFromSQLExplorer(String driverClassName, Properties props) - SqlexplorerService.loadDriverByLibManageSystem(String dbType, String dbVersion, String driverClassName)
Story points: 5