88e7d71559bb8fa93aa2e7a2ec119210db940d91
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 4 | ||
| Rename Method public remove(sessionId int) : void renamed to public removeSession(sessionId int) : void in class org.lealone.net.AsyncConnection | From | To | |
| Rename Method private parsePackets() : void renamed to private parsePacket(buffer Buffer) : void in class org.lealone.net.AsyncConnection | From | To | |
| Rename Method private getNextBestAsyncConnection() : AsyncConnection renamed to private getNextBestCommand() : PreparedCommand in class org.lealone.net.CommandHandler | From | To | |
| Rename Method private getState(session Session, oldModificationId int) : int renamed to private getStatus(session Session, oldModificationId int) : int in class org.lealone.net.AsyncConnection | From | To | |
| Move And Inline Method | 1 | ||
| Move And Inline Method public executeOneCommand() : void moved from class org.lealone.net.AsyncConnection to class org.lealone.net.CommandHandler & inlined to public executeNextStatement() : void | From | To | |
| Rename Variable | 2 | ||
| Rename Variable ac : AsyncConnection to c : PreparedCommand in method public executeNextStatement() : void in class org.lealone.net.CommandHandler | From | To | |
| Rename Variable lastAc : AsyncConnection to bestPreparedCommandQueue : ConcurrentLinkedQueue<PreparedCommand> in method private getNextBestCommand() : PreparedCommand in class org.lealone.net.CommandHandler | From | To | |
| Inline Method | 1 | ||
| Inline Method private createSession() : Session inlined to private createSession(transfer Transfer, originalURL String, dbName String, userName String) : Session in class org.lealone.net.AsyncConnection | From | To | |
| Change Return Type | 1 | ||
| Change Return Type AsyncConnection to PreparedCommand in method private getNextBestCommand() : PreparedCommand in class org.lealone.net.CommandHandler | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute tmpBuffer : Buffer to lastBuffer : Buffer in class org.lealone.net.AsyncConnection | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type lastAc : AsyncConnection to bestPreparedCommandQueue : ConcurrentLinkedQueue<PreparedCommand> in method private getNextBestCommand() : PreparedCommand in class org.lealone.net.CommandHandler | From | To | |
| Change Variable Type ac : AsyncConnection to c : PreparedCommand in method public executeNextStatement() : void in class org.lealone.net.CommandHandler | From | To | |
| Extract Variable | 1 | ||
| Extract Variable transaction : Transaction in method public getTransaction(p PreparedStatement) : Transaction from class org.lealone.db.ServerSession | From | To |