3059bc5267712691a4a06eca2b7b6e19b172a960
Files Diff
- Added: 5
- Removed: 2
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getRemotePort() : int renamed to public getPort() : int in class com.shinemo.mpush.api.Client | From | To | |
Rename Method public getRemoteHost() : String renamed to public getHost() : String in class com.shinemo.mpush.api.Client | From | To | |
Rename Method public getRemotePort() : int renamed to public getPort() : int in class com.shinemo.mpush.netty.client.NettyClient | From | To | |
Rename Method public getRemoteHost() : String renamed to public getHost() : String in class com.shinemo.mpush.netty.client.NettyClient | From | To | |
Rename Variable | 1 | ||
Rename Variable resp : HandshakeSuccessMessage to message : HandshakeSuccessMessage in method public channelRead(ctx ChannelHandlerContext, msg Object) : void in class com.shinemo.mpush.core.netty.ClientChannelHandler | From | To | |
Rename Class | 2 | ||
Rename Class com.shinemo.mpush.core.handler.ServerHandler renamed to com.shinemo.mpush.core.handler.ServerChannelHandler | From | To | |
Rename Class com.shinemo.mpush.core.netty.ClientHandler renamed to com.shinemo.mpush.core.netty.ClientChannelHandler | From | To | |
Rename Attribute | 4 | ||
Rename Attribute remotePort : int to port : int in class com.shinemo.mpush.netty.client.NettyClient | From | To | |
Rename Attribute instance : NettyClientFactory to INSTANCE : NettyClientFactory in class com.shinemo.mpush.netty.client.NettyClientFactory | From | To | |
Rename Attribute timer : Timer to HASHED_WHEEL_TIMER : Timer in class com.shinemo.mpush.netty.util.NettySharedHolder | From | To | |
Rename Attribute remoteHost : String to host : String in class com.shinemo.mpush.netty.client.NettyClient | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type handler : ChannelHandler to handler : ClientChannelHandler in class com.shinemo.mpush.core.netty.NettyClientTest | From | To | |
Rename Parameter | 2 | ||
Rename Parameter remotePort : int to port : int in method public NettyClient(host String, port int, handler ChannelHandler) in class com.shinemo.mpush.netty.client.NettyClient | From | To | |
Rename Parameter remoteHost : String to host : String in method public NettyClient(host String, port int, handler ChannelHandler) in class com.shinemo.mpush.netty.client.NettyClient | From | To |