04fe76115265849f815638d6977aff57fd2876ff
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected doConnect(port int, host String, serverName String, connectHandler Handler<AsyncResult<NetSocket>>) : void renamed to public connect(remoteAddress SocketAddress, serverName String, connectHandler Handler<AsyncResult<NetSocket>>) : NetClient in class io.vertx.core.net.impl.NetClientImpl | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type host : String to remoteAddress : SocketAddress in method public NetSocketImpl(vertx VertxInternal, channel ChannelHandlerContext, remoteAddress SocketAddress, context ContextImpl, helper SSLHelper, metrics TCPMetrics) in class io.vertx.core.net.impl.NetSocketImpl | From | To | |
Change Return Type | 1 | ||
Change Return Type void to NetClient in method public connect(remoteAddress SocketAddress, serverName String, connectHandler Handler<AsyncResult<NetSocket>>) : NetClient in class io.vertx.core.net.impl.NetClientImpl | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute port : int to actualPort : int in method public listen(handler Handler<NetSocket>, socketAddress SocketAddress, listenHandler Handler<AsyncResult<Void>>) : void in class io.vertx.core.net.impl.NetServerImpl | From | To | |
Merge Parameter | 4 | ||
Merge Parameter [host : String, port : int] to remoteAddress : SocketAddress in method private connected(context ContextImpl, ch Channel, connectHandler Handler<AsyncResult<NetSocket>>, remoteAddress SocketAddress) : void in class io.vertx.core.net.impl.NetClientImpl | From | To | |
Merge Parameter [port : int, host : String] to remoteAddress : SocketAddress in method protected doConnect(remoteAddress SocketAddress, serverName String, connectHandler Handler<AsyncResult<NetSocket>>, remainingAttempts int) : void in class io.vertx.core.net.impl.NetClientImpl | From | To | |
Merge Parameter [port : int, host : String] to remoteAddress : SocketAddress in method protected doConnect(remoteAddress SocketAddress, serverName String, connectHandler Handler<AsyncResult<NetSocket>>) : void in class io.vertx.core.net.impl.NetClientImpl | From | To | |
Merge Parameter [port : int, host : String] to address : SocketAddress in method package connect(address SocketAddress) : void in class io.vertx.test.core.NetTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute host : String to remoteAddress : SocketAddress in class io.vertx.core.net.impl.NetSocketImpl | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type host : String to remoteAddress : SocketAddress in class io.vertx.core.net.impl.NetSocketImpl | From | To | |
Extract Method | 8 | ||
Extract Method protected startServer(remoteAddress SocketAddress, context Context) : void extracted from protected startServer() : void in class io.vertx.test.core.NetTest | From | To | |
Extract Method protected startServer(remoteAddress SocketAddress) : void extracted from private testNetServerInternal_(clientOptions HttpClientOptions, expectSSL boolean) : void in class io.vertx.test.core.NetTest | From | To | |
Extract Method protected startServer(remoteAddress SocketAddress, server NetServer) : void extracted from private testNetServerInternal_(clientOptions HttpClientOptions, expectSSL boolean) : void in class io.vertx.test.core.NetTest | From | To | |
Extract Method protected startServer(remoteAddress SocketAddress, server NetServer) : void extracted from protected startServer() : void in class io.vertx.test.core.NetTest | From | To | |
Extract Method protected doConnect(remoteAddress SocketAddress, serverName String, connectHandler Handler<AsyncResult<NetSocket>>) : void extracted from protected doConnect(port int, host String, serverName String, connectHandler Handler<AsyncResult<NetSocket>>) : void in class io.vertx.core.net.impl.NetClientImpl | From | To | |
Extract Method protected startServer(remoteAddress SocketAddress, context Context) : void extracted from private testNetServerInternal_(clientOptions HttpClientOptions, expectSSL boolean) : void in class io.vertx.test.core.NetTest | From | To | |
Extract Method public listen(localAddress SocketAddress, listenHandler Handler<AsyncResult<NetServer>>) : NetServer extracted from public listen(port int, host String, listenHandler Handler<AsyncResult<NetServer>>) : NetServer in class io.vertx.core.net.impl.NetServerImpl | From | To | |
Extract Method protected startServer(remoteAddress SocketAddress, context Context, server NetServer) : void extracted from protected startServer(context Context, server NetServer) : void in class io.vertx.test.core.NetTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter host : String to remoteAddress : SocketAddress in method public NetSocketImpl(vertx VertxInternal, channel ChannelHandlerContext, remoteAddress SocketAddress, context ContextImpl, helper SSLHelper, metrics TCPMetrics) in class io.vertx.core.net.impl.NetSocketImpl | From | To |