688d59687d1c67ef68f240719852deb21fc44cae
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private connect(addr InetSocketAddress, timeout int) : void renamed to public JdbcThinTcpIo(connProps ConnectionProperties, sockAddr InetSocketAddress, timeout int) in class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo | From | To | |
| Move Method | 1 | ||
| Move Method public serverIndex() : int from class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo to public serverIndex() : int from class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection | From | To | |
| Change Return Type | 4 | ||
| Change Return Type void to HandshakeResult in method private handshake_2_1_0() : HandshakeResult in class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo | From | To | |
| Change Return Type void to HandshakeResult in method private handshake(ver ClientListenerProtocolVersion) : HandshakeResult in class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo | From | To | |
| Change Return Type R to JdbcResultWithIo in method package sendRequest(req JdbcRequest, stickyIo JdbcThinTcpIo) : JdbcResultWithIo in class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection | From | To | |
| Change Return Type R to JdbcResultWithIo in method package sendRequest(req JdbcRequest, stmt JdbcThinStatement, stickyIo JdbcThinTcpIo) : JdbcResultWithIo in class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection | From | To | |
| Move Attribute | 4 | ||
| Move Attribute private srvIdx : int from class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo to private srvIdx : int from class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection | From | To | |
| Move Attribute private ownThread : Thread from class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo to private ownThread : Thread from class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection | From | To | |
| Move Attribute private mux : Object from class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo to private mux : Object from class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection | From | To | |
| Move Attribute private cliIo : JdbcThinTcpIo from class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection to private cliIo : JdbcThinTcpIo from class org.apache.ignite.internal.processors.odbc.jdbc.JdbcResultWithIo | From | To | |
| Extract Attribute | 1 | ||
| Extract Attribute private LOCALHOST : String in class org.apache.ignite.jdbc.thin.JdbcThinConnectionSelfTest | From | To | |
| Rename Attribute | 3 | ||
| Rename Attribute srvProtocolVer : ClientListenerProtocolVersion to srvProtoVer : ClientListenerProtocolVersion in class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo | From | To | |
| Rename Attribute URL : String to url : String in class org.apache.ignite.jdbc.thin.JdbcThinConnectionSelfTest | From | To | |
| Rename Attribute URL : String to url : String in class org.apache.ignite.jdbc.thin.JdbcThinStatementSelfTest | From | To | |
| Extract Method | 2 | ||
| Extract Method private connectInCommonMode(srvs HostAndPortRange[]) : void extracted from private ensureConnected() : void in class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection | From | To | |
| Extract Method private handleConnectExceptions(exceptions List<Exception>) : void extracted from private ensureConnected() : void in class org.apache.ignite.internal.jdbc.thin.JdbcThinConnection | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method public timeout() : int extracted from public timeout() : int in class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo & moved to class org.apache.ignite.internal.util.ipc.loopback.IpcClientTcpEndpoint | From | To | |
| Extract And Move Method public timeout(ms int) : void extracted from public timeout(ms int) : void in class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo & moved to class org.apache.ignite.internal.util.ipc.loopback.IpcClientTcpEndpoint | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter addr : InetSocketAddress to sockAddr : InetSocketAddress in method public JdbcThinTcpIo(connProps ConnectionProperties, sockAddr InetSocketAddress, timeout int) in class org.apache.ignite.internal.jdbc.thin.JdbcThinTcpIo | From | To |