4304ae50071494e4d60ce4f0046dc714581a21ce
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method private toArray(str String) : byte[] from class com.shinemo.mpush.core.session.ReusableSession to public toArray(str String) : byte[] from class com.shinemo.mpush.common.security.AesCipher | From | To | |
Change Return Type | 1 | ||
Change Return Type String to Map<String,Serializable> in method private getToken() : Map<String,Serializable> in class com.shinemo.mpush.core.netty.ClientChannelHandler | From | To | |
Change Variable Type | 1 | ||
Change Variable Type message : HandshakeMessage to message : FastConnectMessage in method private tryFastConnect() : void in class com.shinemo.mpush.core.netty.ClientChannelHandler | From | To | |
Extract Method | 2 | ||
Extract Method private tryFastConnect() : void extracted from public channelActive(ctx ChannelHandlerContext) : void in class com.shinemo.mpush.core.netty.ClientChannelHandler | From | To | |
Extract Method private handshake() : void extracted from public channelActive(ctx ChannelHandlerContext) : void in class com.shinemo.mpush.core.netty.ClientChannelHandler | From | To |