8b4d925d99b495cf1ccb79164b31da3851b5dc57
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private executeQueryAsync(transfer Transfer, session Session, sessionId int, id int, command PreparedStatement, operation int, objectId int, maxRows int, fetchSize int, pageKeys ArrayList<PageKey>) : void renamed to private executeUpdateAsync(transfer Transfer, session Session, sessionId int, id int, operation int, prepared boolean) : void in class org.lealone.net.TcpConnection | From | To | |
Rename Method private executeQuery(maxRows int, scrollable boolean, handler AsyncHandler<AsyncResult<Result>>, async boolean) : Result renamed to private query(maxRows int, scrollable boolean, pageKeys List<PageKey>, handler AsyncHandler<AsyncResult<Result>>) : Result in class org.lealone.client.ClientCommand | From | To | |
Pull Up Method | 1 | ||
Pull Up Method public prepare() : Command from class org.lealone.db.CommandBase to public prepare() : Command from class org.lealone.db.Command | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type pageKeys : ArrayList<PageKey> to pageKeys : List<PageKey> in method private execute(updateHandler AsyncHandler<AsyncResult<Integer>>, queryHandler AsyncHandler<AsyncResult<Result>>, pageKeys List<PageKey>, maxRows int, isUpdate boolean) : Object in class org.lealone.sql.StatementWrapper | From | To | |
Move Method | 2 | ||
Move Method public executeUpdateAsync(handler AsyncHandler<AsyncResult<Integer>>) : void from class org.lealone.sql.StatementBase to public executeUpdateAsync(pageKeys List<PageKey>, handler AsyncHandler<AsyncResult<Integer>>) : void from class org.lealone.db.Command | From | To | |
Move Method public executeQueryAsync(maxRows int, scrollable boolean, handler AsyncHandler<AsyncResult<Result>>) : void from class org.lealone.sql.StatementBase to public executeQueryAsync(maxRows int, scrollable boolean, pageKeys List<PageKey>, handler AsyncHandler<AsyncResult<Result>>) : void from class org.lealone.db.Command | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [maxRows : int, fetchSize : int] to transfer : Transfer in method private executeQueryAsync(transfer Transfer, session Session, sessionId int, id int, operation int, prepared boolean) : void in class org.lealone.net.TcpConnection | From | To | |
Extract Method | 1 | ||
Extract Method public executeUpdate(pageKeys List<PageKey>) : int extracted from public executeUpdate() : int in class org.lealone.sql.StatementWrapper | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public executeUpdate(pageKeys List<PageKey>) : int extracted from private maybeExecuteDistributedUpdate(statement StatementBase, endpointToPageKeyMap Map<String,List<PageKey>>) : int in class org.lealone.sql.router.SQLRouter & moved to class org.lealone.db.Command | From | To |