d27eb79e5ac71841e9765aab23444f654ead6003
Files Diff
- Added: 24
- Removed: 17
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable connectionHandler : ConnectionHandler to nettySharedHandler : NettySharedHandler in method public start() : void in class com.shinemo.mpush.netty.server.NettyServer | From | To | |
Move Source Folder | 1 | ||
Move Source Folder mpush-core/src/main/java/com/shinemo/mpush/core/util to mpush-tools/src/main/java/com/shinemo/mpush/tools | From | To | |
Rename Class | 1 | ||
Rename Class com.shinemo.mpush.core.message.HandshakeMessage renamed to com.shinemo.mpush.core.message.HandShakeMessage | From | To | |
Move And Rename Class | 4 | ||
Move And Rename Class com.shinemo.mpush.connection.ConnectionServerTest moved and renamed to com.shinemo.mpush.core.netty.NettyServerTest | From | To | |
Move And Rename Class com.shinemo.mpush.connection.netty.server.ConnectionServer moved and renamed to com.shinemo.mpush.netty.server.NettyServer | From | To | |
Move And Rename Class com.shinemo.mpush.connection.netty.handler.ConnectionHandler moved and renamed to com.shinemo.mpush.core.handler.ServerHandler | From | To | |
Move And Rename Class com.shinemo.mpush.connection.ClientTest moved and renamed to com.shinemo.mpush.core.netty.NettyClientTest | From | To | |
Move Class | 11 | ||
Move Class com.shinemo.mpush.core.thread.NamedThreadFactory moved to com.shinemo.mpush.tools.thread.NamedThreadFactory | From | To | |
Move Class com.shinemo.mpush.core.thread.ThreadPoolUtil moved to com.shinemo.mpush.tools.thread.ThreadPoolUtil | From | To | |
Move Class com.shinemo.mpush.connection.netty.task.ScanAllClientConnection moved to com.shinemo.mpush.core.task.ScanAllClientConnection | From | To | |
Move Class com.shinemo.mpush.core.util.JVMUtil moved to com.shinemo.mpush.tools.JVMUtil | From | To | |
Move Class com.shinemo.mpush.connection.netty.codec.PacketDecoder moved to com.shinemo.mpush.netty.codec.PacketDecoder | From | To | |
Move Class com.shinemo.mpush.connection.netty.NettySharedHolder moved to com.shinemo.mpush.netty.util.NettySharedHolder | From | To | |
Move Class com.shinemo.mpush.connection.netty.task.ScanTask moved to com.shinemo.mpush.core.task.ScanTask | From | To | |
Move Class com.shinemo.mpush.connection.ClientHandler moved to com.shinemo.mpush.core.netty.ClientHandler | From | To | |
Move Class com.shinemo.mpush.connection.netty.codec.PacketEncoder moved to com.shinemo.mpush.netty.codec.PacketEncoder | From | To | |
Move Class com.shinemo.mpush.core.thread.ThreadPoolManager moved to com.shinemo.mpush.tools.thread.ThreadPoolManager | From | To | |
Move Class com.shinemo.mpush.core.thread.ThreadNameSpace moved to com.shinemo.mpush.tools.thread.ThreadNameSpace | From | To | |
Extract Variable | 1 | ||
Extract Variable nettySharedHandler : NettySharedHandler in method public initChannel(ch SocketChannel) : void from class com.shinemo.mpush.core.netty.NettyClientTest.testClient.handler | From | To | |
Change Variable Type | 1 | ||
Change Variable Type connectionHandler : ConnectionHandler to nettySharedHandler : NettySharedHandler in method public start() : void in class com.shinemo.mpush.netty.server.NettyServer | From | To | |
Extract Interface | 1 | ||
Extract Interface com.shinemo.mpush.api.protocol.Handler from classes [com.shinemo.mpush.core.handler.ServerHandler, com.shinemo.mpush.core.netty.ClientHandler] | From | To |