7b720921f2050e561972bb54e174c6012ba27a2b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public setFlag(flag byte) : void renamed to public addFlag(flag byte) : void in class com.mpush.api.protocol.Packet | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type content : String to content : byte[] in method public setContent(content byte[]) : PushRequest in class com.mpush.client.push.PushRequest | From | To | |
Change Parameter Type content : String to content : byte[] in method public PushMessage(content byte[], connection Connection) in class com.mpush.common.message.PushMessage | From | To | |
Change Parameter Type content : String to content : byte[] in method public GatewayPushMessage(userId String, content byte[], connection Connection) in class com.mpush.common.message.gateway.GatewayPushMessage | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type content : String to content : byte[] in class com.mpush.common.message.gateway.GatewayPushMessage | From | To | |
Change Attribute Type content : String to content : byte[] in class com.mpush.client.push.PushRequest | From | To | |
Change Attribute Type content : String to content : byte[] in class com.mpush.common.message.PushMessage | From | To | |
Extract Method | 3 | ||
Extract Method public send(content byte[], userId String, callback Callback) : void extracted from public send(content String, userIds Collection<String>, callback Callback) : void in class com.mpush.client.push.PushClient | From | To | |
Extract Method public send(content byte[], userIds Collection<String>, callback Callback) : void extracted from public send(content String, userIds Collection<String>, callback Callback) : void in class com.mpush.client.push.PushClient | From | To | |
Extract Method public send(content byte[], userId String, callback Callback) : void extracted from public send(content String, userId String, callback Callback) : void in class com.mpush.client.push.PushClient | From | To |