317c7862b1380496ae973fe9c2d030d8aaabe911
Files Diff
- Added: 20
- Removed: 6
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public needAck() : boolean renamed to public isNeedAck() : boolean in class com.mpush.common.message.gateway.GatewayPushMessage | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type message : GatewayPushMessage to message : IPushMessage in method private checkRemote(message IPushMessage) : void in class com.mpush.core.push.SingleUserPushTask | From | To | |
Change Parameter Type message : GatewayPushMessage to message : IPushMessage in method public BroadcastPushTask(message IPushMessage, flowControl FlowControl) in class com.mpush.core.push.BroadcastPushTask | From | To | |
Change Parameter Type message : GatewayPushMessage to message : IPushMessage in method public SingleUserPushTask(message IPushMessage, flowControl FlowControl) in class com.mpush.core.push.SingleUserPushTask | From | To | |
Change Parameter Type message : GatewayPushMessage to message : IPushMessage in method private checkLocal(message IPushMessage) : boolean in class com.mpush.core.push.SingleUserPushTask | From | To | |
Change Parameter Type message : GatewayPushMessage to message : IPushMessage in method public PushAckCallback(message IPushMessage) in class com.mpush.core.push.PushAckCallback | From | To | |
Move Attribute | 1 | ||
Move Attribute private globalFlowControl : GlobalFlowControl from class com.mpush.core.handler.GatewayPushHandler to private globalFlowControl : GlobalFlowControl from class com.mpush.core.push.PushCenter | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class com.mpush.core.push.SingleUserPushTask.GatewayPushAckCallback moved and renamed to com.mpush.core.push.PushAckCallback | From | To | |
Move Class | 6 | ||
Move Class com.mpush.core.push.FlowControl moved to com.mpush.common.qps.FlowControl | From | To | |
Move Class com.mpush.core.push.RedisFlowControl moved to com.mpush.common.qps.RedisFlowControl | From | To | |
Move Class com.mpush.core.push.GlobalFlowControl moved to com.mpush.common.qps.GlobalFlowControl | From | To | |
Move Class com.mpush.core.push.FastFlowControl moved to com.mpush.common.qps.FastFlowControl | From | To | |
Move Class com.mpush.core.push.OverFlowException moved to com.mpush.common.qps.OverFlowException | From | To | |
Move Class com.mpush.common.condition.Condition moved to com.mpush.api.common.Condition | From | To | |
Extract Interface | 1 | ||
Extract Interface com.mpush.api.spi.push.IPushMessage from classes [com.mpush.common.message.gateway.GatewayPushMessage] | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type message : GatewayPushMessage to message : IPushMessage in class com.mpush.core.push.BroadcastPushTask | From | To | |
Change Attribute Type message : GatewayPushMessage to message : IPushMessage in class com.mpush.core.push.SingleUserPushTask | From | To | |
Change Attribute Type message : GatewayPushMessage to message : IPushMessage in class com.mpush.core.push.PushAckCallback | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public push(message IPushMessage) : void extracted from public handle(message GatewayPushMessage) : void in class com.mpush.core.handler.GatewayPushHandler & moved to class com.mpush.core.push.PushCenter | From | To |