8875a09ed63ed187d550cdba18637f4cf10c79ae
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 4 | ||
| Change Parameter Type id : long to id : int in method public InternalRequest(id int, sender Address, subject String, payload byte[]) in class io.atomix.cluster.messaging.impl.InternalRequest | From | To | |
| Change Parameter Type id : long to id : int in method protected InternalMessage(id int, payload byte[]) in class io.atomix.cluster.messaging.impl.InternalMessage | From | To | |
| Change Parameter Type id : long to id : int in method public InternalReply(id int, payload byte[], status Status) in class io.atomix.cluster.messaging.impl.InternalReply | From | To | |
| Change Parameter Type id : long to id : int in method public InternalReply(id int, status Status) in class io.atomix.cluster.messaging.impl.InternalReply | From | To | |
| Change Return Type | 1 | ||
| Change Return Type long to int in method public id() : int in class io.atomix.cluster.messaging.impl.InternalMessage | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute version : int to senderVersion : int in class io.atomix.cluster.messaging.impl.MessageDecoder | From | To | |
| Rename Attribute address : Address to senderAddress : Address in class io.atomix.cluster.messaging.impl.MessageDecoder | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type messageId : long to messageId : int in method public sendAndReceive(address Address, type String, payload byte[], timeout Duration, executor Executor) : CompletableFuture<byte[]> in class io.atomix.cluster.messaging.impl.NettyMessagingService | From | To | |
| Extract Variable | 1 | ||
| Extract Variable messageId : int in method public sendAsync(address Address, type String, payload byte[]) : CompletableFuture<Void> from class io.atomix.cluster.messaging.impl.NettyMessagingService | From | To | |
| Change Attribute Type | 3 | ||
| Change Attribute Type id : long to id : int in class io.atomix.cluster.messaging.impl.InternalMessage | From | To | |
| Change Attribute Type messageIdGenerator : AtomicLong to messageIdGenerator : AtomicInteger in class io.atomix.cluster.messaging.impl.NettyMessagingService | From | To | |
| Change Attribute Type messageId : long to messageId : int in class io.atomix.cluster.messaging.impl.MessageDecoder | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter out : ByteBuf to buffer : ByteBuf in method private encodeMessage(message InternalMessage, buffer ByteBuf) : void in class io.atomix.cluster.messaging.impl.MessageEncoder | From | To |