b23a42bc84b50ef368fc9b285fb174ce249c1dd1
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public getType() : RouterType renamed to public getRouteType() : RouterType in class com.shinemo.mpush.gateway.router.RemoteRouter | From | To | |
| Rename Method public getType() : RouterType renamed to public getRouteType() : RouterType in class com.shinemo.mpush.api.Router | From | To | |
| Rename Method public getType() : RouterType renamed to public getRouteType() : RouterType in class com.shinemo.mpush.gateway.router.LocalRouter | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type userConnConfig : UserConnConfig to clientLocation : ClientLocation in method public RemoteRouter(clientLocation ClientLocation) in class com.shinemo.mpush.gateway.router.RemoteRouter | From | To | |
| Change Return Type | 3 | ||
| Change Return Type UserConnConfig to ClientLocation in method public from(context SessionContext) : ClientLocation in class com.shinemo.mpush.api.ClientLocation | From | To | |
| Change Return Type UserConnConfig to ClientLocation in method public setDeviceId(deviceId String) : ClientLocation in class com.shinemo.mpush.api.ClientLocation | From | To | |
| Change Return Type UserConnConfig to ClientLocation in method public getRouteInfo() : ClientLocation in class com.shinemo.mpush.gateway.router.RemoteRouter | From | To | |
| Rename Class | 1 | ||
| Rename Class com.shinemo.mpush.api.UserConnConfig renamed to com.shinemo.mpush.api.ClientLocation | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute userConnConfig : UserConnConfig to clientLocation : ClientLocation in class com.shinemo.mpush.gateway.router.RemoteRouter | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type connConfig : UserConnConfig to connConfig : ClientLocation in method public register(userId String, connection Connection) : boolean in class com.shinemo.mpush.gateway.router.RouterCenter | From | To | |
| Change Variable Type config : UserConnConfig to config : ClientLocation in method public from(context SessionContext) : ClientLocation in class com.shinemo.mpush.api.ClientLocation | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type userConnConfig : UserConnConfig to clientLocation : ClientLocation in class com.shinemo.mpush.gateway.router.RemoteRouter | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter userConnConfig : UserConnConfig to clientLocation : ClientLocation in method public RemoteRouter(clientLocation ClientLocation) in class com.shinemo.mpush.gateway.router.RemoteRouter | From | To |