e9ac521dd1204c523dc0e497f141529e6abd4e3f
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 7 | ||
Extract Method private selectFirst(selectSql String, connectionSupplier SqlExceptionSupplier<Connection>) : Map<String,Object> extracted from public selectFirst(selectSql String) : Map<String,Object> in class org.sonar.db.DbTester | From | To | |
Extract Method private getConnection() : Connection extracted from public executeUpdateSql(sql String, params Object...) : void in class org.sonar.db.DbTester | From | To | |
Extract Method private getConnection() : Connection extracted from public openConnection() : Connection in class org.sonar.db.DbTester | From | To | |
Extract Method private countSql(sql String, connectionSupplier SqlExceptionSupplier<Connection>) : int extracted from public countSql(sql String) : int in class org.sonar.db.DbTester | From | To | |
Extract Method private countRowsOfTable(tableName String, connectionSupplier SqlExceptionSupplier<Connection>) : int extracted from public countRowsOfTable(tableName String) : int in class org.sonar.db.DbTester | From | To | |
Extract Method private getConnection() : Connection extracted from public assertColumnDefinition(table String, column String, expectedType int, expectedSize Integer, isNullable Boolean) : void in class org.sonar.db.DbTester | From | To | |
Extract Method private select(selectSql String, connectionSupplier SqlExceptionSupplier<Connection>) : List<Map<String,Object>> extracted from public select(selectSql String) : List<Map<String,Object>> in class org.sonar.db.DbTester | From | To |