1ac12969df41ab92a585477d18d4eb18f189ead2
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type msgType : PushType to msgType : MsgType in method public build(msgType MsgType, content String) : PushMsg in class com.mpush.api.push.PushMsg | From | To | |
Change Parameter Type msgType : int to msgType : MsgType in method public PushMsg(msgType MsgType) in class com.mpush.api.push.PushMsg | From | To | |
Rename Variable | 1 | ||
Rename Variable pushContent : PushContent to pushMessage : PushMsg in method public build(msgType MsgType, content String) : PushMsg in class com.mpush.api.push.PushMsg | From | To | |
Change Return Type | 1 | ||
Change Return Type PushContent to PushMsg in method public build(msgType MsgType, content String) : PushMsg in class com.mpush.api.push.PushMsg | From | To | |
Rename Class | 1 | ||
Rename Class com.mpush.api.push.PushContent renamed to com.mpush.api.push.PushMsg | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class com.mpush.api.push.PushContent.PushType moved and renamed to com.mpush.api.push.MsgType | From | To | |
Change Variable Type | 4 | ||
Change Variable Type pushContent : PushContent to pushMessage : PushMsg in method public build(msgType MsgType, content String) : PushMsg in class com.mpush.api.push.PushMsg | From | To | |
Change Variable Type newContetn : PushContent to newContetn : PushMsg in method public test2() : void in class com.mpush.test.gson.GsonTest | From | To | |
Change Variable Type content : PushContent to content : PushMsg in method public test2() : void in class com.mpush.test.gson.GsonTest | From | To | |
Change Variable Type content : PushContent to content : PushMsg in method public test() : void in class com.mpush.test.gson.GsonTest | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public addFlag(flag byte) : GatewayPushMessage extracted from private sendToConnServer(router RemoteRouter) : void in class com.mpush.client.push.PushRequest & moved to class com.mpush.common.message.gateway.GatewayPushMessage | From | To | |
Rename Parameter | 1 | ||
Rename Parameter content : String to context : String in method public send(context String, userId String, callback PushCallback) : FutureTask<Boolean> in class com.mpush.api.push.PushSender | From | To |