b5fb4d8de350e3e3da384e38b56db9b566a09723
Files Diff
- Added: 10
- Removed: 6
- Renamed: 0
- Modified: 22
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public getSessionInfo() : SessionInfo renamed to public getSessionContext() : SessionContext in class com.shinemo.mpush.core.NettyConnection | From | To | |
| Rename Method public getSessionInfo() : SessionInfo renamed to public getSessionContext() : SessionContext in class com.shinemo.mpush.api.Connection | From | To | |
| Change Parameter Type | 4 | ||
| Change Parameter Type info : SessionInfo to context : SessionContext in method public setSessionInfo(context SessionContext) : void in class com.shinemo.mpush.core.NettyConnection | From | To | |
| Change Parameter Type info : SessionInfo to info : SessionContext in method public genSession(info SessionContext) : ReusableSession in class com.shinemo.mpush.core.security.ReusableSessionManager | From | To | |
| Change Parameter Type info : SessionInfo to context : SessionContext in method public setSessionInfo(context SessionContext) : void in class com.shinemo.mpush.api.Connection | From | To | |
| Change Parameter Type message : Void to message : HeartbeatMessage in method public handle(message HeartbeatMessage) : void in class com.shinemo.mpush.core.handler.HeartBeatHandler | From | To | |
| Change Return Type | 2 | ||
| Change Return Type SessionInfo to SessionContext in method public getSessionContext() : SessionContext in class com.shinemo.mpush.core.NettyConnection | From | To | |
| Change Return Type SessionInfo to SessionContext in method public getSessionContext() : SessionContext in class com.shinemo.mpush.api.Connection | From | To | |
| Rename Class | 3 | ||
| Rename Class com.shinemo.mpush.core.security.CipherManagerTest renamed to com.shinemo.mpush.core.security.CipherBoxTest | From | To | |
| Rename Class com.shinemo.mpush.core.security.CipherManager renamed to com.shinemo.mpush.core.security.CipherBox | From | To | |
| Rename Class com.shinemo.mpush.api.SessionInfo renamed to com.shinemo.mpush.api.SessionContext | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass com.shinemo.mpush.core.message.BaseBufferBodyMessage from classes [com.shinemo.mpush.core.message.FastConnectMessage, com.shinemo.mpush.core.message.HandShakeMessage] | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute info : SessionInfo to context : SessionContext in class com.shinemo.mpush.core.NettyConnection | From | To | |
| Rename Attribute sessionInfo : SessionInfo to sessionContext : SessionContext in class com.shinemo.mpush.core.security.ReusableSession | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type info : SessionInfo to info : SessionContext in method public getBody() : byte[] in class com.shinemo.mpush.core.message.NettyRequest | From | To | |
| Change Variable Type info : SessionInfo to info : SessionContext in method public handle(message HandShakeMessage) : void in class com.shinemo.mpush.core.handler.HandShakeHandler | From | To | |
| Change Variable Type info : SessionInfo to info : SessionContext in method public send(body byte[]) : void in class com.shinemo.mpush.core.message.NettyResponse | From | To | |
| Change Attribute Type | 6 | ||
| Change Attribute Type FAST_CONNECT_HANDLER : MessageHandler to FAST_CONNECT_HANDLER : FastConnectHandler in class com.shinemo.mpush.core.MessageDispatcher | From | To | |
| Change Attribute Type info : SessionInfo to context : SessionContext in class com.shinemo.mpush.core.NettyConnection | From | To | |
| Change Attribute Type INSTANCE : CipherManager to INSTANCE : CipherBox in class com.shinemo.mpush.core.security.CipherBox | From | To | |
| Change Attribute Type HEART_HANDLER : MessageHandler to HEART_HANDLER : HeartBeatHandler in class com.shinemo.mpush.core.MessageDispatcher | From | To | |
| Change Attribute Type HAND_SHAKE_HANDLER : MessageHandler to HAND_SHAKE_HANDLER : HandShakeHandler in class com.shinemo.mpush.core.MessageDispatcher | From | To | |
| Change Attribute Type sessionInfo : SessionInfo to sessionContext : SessionContext in class com.shinemo.mpush.core.security.ReusableSession | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter info : SessionInfo to context : SessionContext in method public setSessionInfo(context SessionContext) : void in class com.shinemo.mpush.api.Connection | From | To | |
| Rename Parameter info : SessionInfo to context : SessionContext in method public setSessionInfo(context SessionContext) : void in class com.shinemo.mpush.core.NettyConnection | From | To | |
| Rename Parameter body : HandShakeMessage to message : HandShakeMessage in method public handle(message HandShakeMessage) : void in class com.shinemo.mpush.core.handler.HandShakeHandler | From | To |