1d7302dd0aa91a79b4985950bf0a2f906850dcca
Files Diff
- Added: 0
- Removed: 3
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private executeQuery(transfer Transfer, session Session, sessionId int, id int, command PreparedStatement, operation int, objectId int, maxRows int, fetchSize int) : void renamed to private executeQueryAsync(transfer Transfer, session Session, sessionId int, id int, command PreparedStatement, operation int, objectId int, maxRows int, fetchSize int) : void in class org.lealone.net.AsyncConnection | From | To | |
Rename Method private executeUpdate(transfer Transfer, session Session, sessionId int, id int, command PreparedStatement, operation int) : void renamed to private executeUpdateAsync(transfer Transfer, session Session, sessionId int, id int, command PreparedStatement, operation int) : void in class org.lealone.net.AsyncConnection | From | To | |
Inline Method | 1 | ||
Inline Method public run() : void inlined to public run(transfer Transfer) : void in class org.lealone.net.AsyncCallback | From | To | |
Change Variable Type | 4 | ||
Change Variable Type ac : IntAsyncCallback to ac : AsyncCallback<Integer> in method private getUpdateCount(isDistributedUpdate boolean, id int, handler AsyncHandler<AsyncResult<Integer>>, async boolean) : int in class org.lealone.client.ClientCommand | From | To | |
Change Variable Type ac : VoidAsyncCallback to ac : AsyncCallback<Void> in method public writeInitPacket(session Session, sessionId int, transfer Transfer, ci ConnectionInfo) : void in class org.lealone.net.AsyncConnection | From | To | |
Change Variable Type ac : VoidAsyncCallback to ac : AsyncCallback<Void> in method private getResultAsync() : void in class org.lealone.client.ClientBatchCommand | From | To | |
Change Variable Type ac : VoidAsyncCallback to ac : AsyncCallback<Void> in method private prepare(s ClientSession, createParams boolean) : void in class org.lealone.client.ClientCommand | From | To | |
Extract Method | 5 | ||
Extract Method package close(stmt JdbcStatement, conn Connection) : void extracted from public main(args String[]) : void in class org.lealone.test.async.AsyncJdbcStatementTest | From | To | |
Extract Method private handle(e DbException) : void extracted from public getResult() : T in class org.lealone.net.AsyncCallback | From | To | |
Extract Method private handle(e DbException) : void extracted from public await() : void in class org.lealone.net.AsyncCallback | From | To |