4e865ac455ce728064eb14686376daf222b5fc0d
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 5 | ||
| Rename Method public getRouter(userId String) : LocalRouter renamed to public lookup(userId String) : LocalRouter in class com.shinemo.mpush.gateway.router.LocalRouterManager | From | To | |
| Rename Method public getClientVer() : String renamed to public getClientVersion() : String in class com.shinemo.mpush.api.UserConnConfig | From | To | |
| Rename Method public getRouter(userId String) : RemoteRouter renamed to public lookup(userId String) : RemoteRouter in class com.shinemo.mpush.gateway.router.RemoteRouterManager | From | To | |
| Rename Method public setClientVer(clientVer String) : void renamed to public setClientVersion(clientVersion String) : void in class com.shinemo.mpush.api.UserConnConfig | From | To | |
| Rename Method public UserConnConfig(host String) renamed to public setDeviceId(deviceId String) : UserConnConfig in class com.shinemo.mpush.api.UserConnConfig | From | To | |
| Rename Class | 1 | ||
| Rename Class com.shinemo.mpush.core.handler.BindHandler renamed to com.shinemo.mpush.core.handler.BindUserHandler | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute bindHandler : BindHandler to bindUserHandler : BindUserHandler in class com.shinemo.mpush.core.MessageDispatcher | From | To | |
| Rename Attribute clientVer : String to clientVersion : String in class com.shinemo.mpush.api.UserConnConfig | From | To | |
| Extract Variable | 2 | ||
| Extract Variable remoteRouter : RemoteRouter in method public register(userId String, connection Connection) : boolean from class com.shinemo.mpush.gateway.router.RouterCenter | From | To | |
| Extract Variable localRouter : LocalRouter in method public register(userId String, connection Connection) : boolean from class com.shinemo.mpush.gateway.router.RouterCenter | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type bindHandler : BindHandler to bindUserHandler : BindUserHandler in class com.shinemo.mpush.core.MessageDispatcher | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter clientVer : String to clientVersion : String in method public setClientVersion(clientVersion String) : void in class com.shinemo.mpush.api.UserConnConfig | From | To | |
| Rename Parameter host : String to deviceId : String in method public setDeviceId(deviceId String) : UserConnConfig in class com.shinemo.mpush.api.UserConnConfig | From | To |