2e203be42ffbdd44f8f7d756e3e928d3f0e50760
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 25
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public handler(client CuratorFramework, event TreeCacheEvent, path String) : void renamed to public childEvent(curatorFramework CuratorFramework, event TreeCacheEvent) : void in class com.shinemo.mpush.tools.zk.listener.impl.RedisPathListener | From | To | |
Rename Method public startRedisClient() : void renamed to public initRedisClient() : void in class com.shinemo.mpush.core.App | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type path : PathEnum to path : ZKPath in method public ServerManage(app ServerApp, path ZKPath) in class com.shinemo.mpush.tools.zk.manage.ServerManage | From | To | |
Rename Variable | 2 | ||
Rename Variable hosts : List<String> to list : List<String> in method private getAllServers() : List<ServerApp> in class com.shinemo.mpush.core.netty.NettyClientTest | From | To | |
Rename Variable hosts : List<String> to serverApps : List<ServerApp> in method public testClient() : void in class com.shinemo.mpush.core.netty.NettyClientTest | From | To | |
Rename Class | 3 | ||
Rename Class com.shinemo.mpush.tools.zk.listener.impl.ConnectionPathListener renamed to com.shinemo.mpush.tools.zk.listener.impl.ConnPathListener | From | To | |
Rename Class com.shinemo.mpush.tools.zk.PathEnum renamed to com.shinemo.mpush.tools.zk.ZKPath | From | To | |
Rename Class com.shinemo.mpush.tools.zk.listener.impl.KickPathListener renamed to com.shinemo.mpush.tools.zk.listener.impl.GatewayPathListener | From | To | |
Change Variable Type | 1 | ||
Change Variable Type hosts : List<String> to serverApps : List<ServerApp> in method public testClient() : void in class com.shinemo.mpush.core.netty.NettyClientTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type path : PathEnum to path : ZKPath in class com.shinemo.mpush.tools.zk.manage.ServerManage | From | To | |
Extract Method | 1 | ||
Extract Method private getAllServers() : List<ServerApp> extracted from public testClient() : void in class com.shinemo.mpush.core.netty.NettyClientTest | From | To | |
Rename Parameter | 4 | ||
Rename Parameter route : R to router : R in method public register(userId String, router R) : R in class com.shinemo.mpush.api.router.RouterManager | From | To | |
Rename Parameter client : CuratorFramework to curatorFramework : CuratorFramework in method public childEvent(curatorFramework CuratorFramework, event TreeCacheEvent) : void in class com.shinemo.mpush.tools.zk.listener.impl.RedisPathListener | From | To | |
Rename Parameter route : RemoteRouter to router : RemoteRouter in method public register(userId String, router RemoteRouter) : RemoteRouter in class com.shinemo.mpush.common.router.RemoteRouterManager | From | To | |
Rename Parameter route : LocalRouter to router : LocalRouter in method public register(userId String, router LocalRouter) : LocalRouter in class com.shinemo.mpush.core.router.LocalRouterManager | From | To |