8cad23cdcec19aff04725659cc0af9239053af6b
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 4 | ||
Push Down Method public addPubSubCommand(channel String, data CommandData<Object,Object>) : void from class org.redisson.client.handler.CommandDecoder to public addPubSubCommand(channel String, data CommandData<Object,Object>) : void from class org.redisson.client.handler.CommandPubSubDecoder | From | To | |
Push Down Method public CommandDecoder(executor ExecutorService) from class org.redisson.client.handler.CommandDecoder to public CommandPubSubDecoder(executor ExecutorService) from class org.redisson.client.handler.CommandPubSubDecoder | From | To | |
Push Down Method private messageDecoder(data CommandData<Object,Object>, parts List<Object>, channel Channel) : MultiDecoder<Object> from class org.redisson.client.handler.CommandDecoder to protected messageDecoder(data CommandData<Object,Object>, parts List<Object>) : MultiDecoder<Object> from class org.redisson.client.handler.CommandPubSubDecoder | From | To | |
Push Down Method private handlePublishSubscribe(data CommandData<Object,Object>, parts List<Object>, channel Channel, result Object) : void from class org.redisson.client.handler.CommandDecoder to protected decodeResult(data CommandData<Object,Object>, parts List<Object>, channel Channel, result Object) : void from class org.redisson.client.handler.CommandPubSubDecoder | From | To | |
Extract Subclass | 1 | ||
Extract Subclass org.redisson.client.handler.CommandPubSubDecoder from class org.redisson.client.handler.CommandDecoder | From | To | |
Push Down Attribute | 3 | ||
Push Down Attribute private executor : ExecutorService from class org.redisson.client.handler.CommandDecoder to private executor : ExecutorService from class org.redisson.client.handler.CommandPubSubDecoder | From | To | |
Push Down Attribute private pubSubMessageDecoders : Map<String,MultiDecoder<Object>> from class org.redisson.client.handler.CommandDecoder to private pubSubMessageDecoders : Map<String,MultiDecoder<Object>> from class org.redisson.client.handler.CommandPubSubDecoder | From | To | |
Push Down Attribute private pubSubChannels : Map<PubSubKey,CommandData<Object,Object>> from class org.redisson.client.handler.CommandDecoder to private pubSubChannels : Map<PubSubKey,CommandData<Object,Object>> from class org.redisson.client.handler.CommandPubSubDecoder | From | To | |
Extract Method | 1 | ||
Extract Method protected decodeResult(data CommandData<Object,Object>, parts List<Object>, channel Channel, result Object) : void extracted from private decodeList(in ByteBuf, data CommandData<Object,Object>, parts List<Object>, channel Channel, size long, respParts List<Object>) : void in class org.redisson.client.handler.CommandDecoder | From | To |