5ae7b8aa6ae086bf9a6024c48ab724ba79cb0d8f
Files Diff
- Added: 17
- Removed: 14
- Renamed: 0
- Modified: 114
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable name : String to key : String in method public load(clazz Class<T>, name String) : T in class com.mpush.tools.spi.ServiceContainer | From | To | |
Move Attribute | 6 | ||
Move Attribute public ZK_CONNECTION_TIMEOUT : int from class com.mpush.tools.Constants to public ZK_CONNECTION_TIMEOUT : int from class com.mpush.zk.ZKConfig | From | To | |
Move Attribute public ZK_DEFAULT_CACHE_PATH : String from class com.mpush.tools.Constants to public ZK_DEFAULT_CACHE_PATH : String from class com.mpush.zk.ZKConfig | From | To | |
Move Attribute public ZK_MAX_TIME : int from class com.mpush.tools.Constants to public ZK_MAX_TIME : int from class com.mpush.zk.ZKConfig | From | To | |
Move Attribute public ZK_MAX_RETRY : int from class com.mpush.tools.Constants to public ZK_MAX_RETRY : int from class com.mpush.zk.ZKConfig | From | To | |
Move Attribute public ZK_MIN_TIME : int from class com.mpush.tools.Constants to public ZK_MIN_TIME : int from class com.mpush.zk.ZKConfig | From | To | |
Move Attribute public ZK_SESSION_TIMEOUT : int from class com.mpush.tools.Constants to public ZK_SESSION_TIMEOUT : int from class com.mpush.zk.ZKConfig | From | To | |
Rename Class | 1 | ||
Rename Class com.mpush.boot.EndBoot renamed to com.mpush.boot.LastBoot | From | To | |
Rename Attribute | 2 | ||
Rename Attribute holder : ConfigCenter to I : ConfigCenter in class com.mpush.tools.config.ConfigCenter | From | To | |
Rename Attribute log : Logger to logger : Logger in class com.mpush.netty.server.NettyServer | From | To | |
Extract Variable | 1 | ||
Extract Variable serverName : String in method public run() : void from class com.mpush.boot.ServerBoot | From | To | |
Extract Method | 2 | ||
Extract Method protected initPipeline(pipeline ChannelPipeline) : void extracted from private createServer(listener Listener, boss EventLoopGroup, work EventLoopGroup, clazz Class<? extends ServerChannel>) : void in class com.mpush.netty.server.NettyServer | From | To | |
Extract Method public load(clazz Class<T>, name String) : T extracted from public load(clazz Class<T>) : T in class com.mpush.tools.spi.ServiceContainer | From | To |