0bb4d35f67c0a3664e6e24e2e7e9f905c86b866a
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getClientInfo() : ClientInfo renamed to public getSessionInfo() : SessionInfo in class com.shinemo.mpush.api.Connection | From | To | |
Rename Method public setClientInfo(info ClientInfo) : void renamed to public setSessionInfo(info SessionInfo) : void in class com.shinemo.mpush.api.Connection | From | To | |
Rename Method public getClientInfo() : ClientInfo renamed to public getSessionInfo() : SessionInfo in class com.shinemo.mpush.core.NettyConnection | From | To | |
Rename Method public setClientInfo(info ClientInfo) : void renamed to public setSessionInfo(info SessionInfo) : void in class com.shinemo.mpush.core.NettyConnection | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type info : ClientInfo to info : SessionInfo in method public setSessionInfo(info SessionInfo) : void in class com.shinemo.mpush.core.NettyConnection | From | To | |
Change Parameter Type info : ClientInfo to info : SessionInfo in method public genToken(info SessionInfo) : ReusableToken in class com.shinemo.mpush.core.security.ReusableTokenManager | From | To | |
Change Parameter Type info : ClientInfo to info : SessionInfo in method public setSessionInfo(info SessionInfo) : void in class com.shinemo.mpush.api.Connection | From | To | |
Change Return Type | 2 | ||
Change Return Type ClientInfo to SessionInfo in method public getSessionInfo() : SessionInfo in class com.shinemo.mpush.core.NettyConnection | From | To | |
Change Return Type ClientInfo to SessionInfo in method public getSessionInfo() : SessionInfo in class com.shinemo.mpush.api.Connection | From | To | |
Rename Class | 1 | ||
Rename Class com.shinemo.mpush.api.ClientInfo renamed to com.shinemo.mpush.api.SessionInfo | From | To | |
Change Variable Type | 1 | ||
Change Variable Type info : ClientInfo to info : SessionInfo in method public handle(body HandShakeMessage, request Request) : void in class com.shinemo.mpush.core.handler.HandShakeHandler | From | To | |
Extract Method | 2 | ||
Extract Method private doFinal(cipher Cipher, arrays byte[][]) : byte[] extracted from public decryptByPrivateKey(data byte[], privateKey RSAPrivateKey) : byte[] in class com.shinemo.mpush.tools.crypto.RSAUtils | From | To | |
Extract Method private doFinal(cipher Cipher, arrays byte[][]) : byte[] extracted from public encryptByPublicKey(data byte[], publicKey RSAPublicKey) : byte[] in class com.shinemo.mpush.tools.crypto.RSAUtils | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type info : ClientInfo to info : SessionInfo in class com.shinemo.mpush.core.NettyConnection | From | To |