c3a492100fe75a1217d63d7d2b831c44976ab4e1
Files Diff
- Added: 6
- Removed: 6
- Renamed: 0
- Modified: 96
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 13 | ||
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, msg FileHeader) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg FileHeader) : void in class org.neo4j.coreedge.catchup.storecopy.FileHeaderHandler | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, msg TxStreamFinishedResponse) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg TxStreamFinishedResponse) : void in class org.neo4j.coreedge.catchup.tx.TxStreamFinishedResponseHandler | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, msg TxPullRequest) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg TxPullRequest) : void in class org.neo4j.coreedge.catchup.tx.TxPullRequestHandler | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, coreSnapshot CoreSnapshot) : void renamed to protected channelRead0(ctx ChannelHandlerContext, coreSnapshot CoreSnapshot) : void in class org.neo4j.coreedge.core.state.snapshot.CoreSnapshotResponseHandler | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, message GetStoreIdRequest) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg GetStoreIdRequest) : void in class org.neo4j.coreedge.catchup.storecopy.GetStoreIdRequestHandler | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, msg CoreSnapshotRequest) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg CoreSnapshotRequest) : void in class org.neo4j.coreedge.core.state.snapshot.CoreSnapshotRequestHandler | From | To | |
Rename Method public type() : byte renamed to public messageType() : byte in class org.neo4j.coreedge.catchup.RequestMessageType | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, msg GetStoreRequest) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg GetStoreRequest) : void in class org.neo4j.coreedge.catchup.storecopy.GetStoreRequestHandler | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, msg StoreCopyFinishedResponse) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg StoreCopyFinishedResponse) : void in class org.neo4j.coreedge.catchup.storecopy.StoreCopyFinishedResponseHandler | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, fileContent FileContent) : void renamed to protected channelRead0(ctx ChannelHandlerContext, fileContent FileContent) : void in class org.neo4j.coreedge.catchup.storecopy.FileContentHandler | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, msg TxPullResponse) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg TxPullResponse) : void in class org.neo4j.coreedge.catchup.tx.TxPullResponseHandler | From | To | |
Rename Method public type() : byte renamed to public messageType() : byte in class org.neo4j.coreedge.catchup.ResponseMessageType | From | To | |
Rename Method protected doChannelRead0(ctx ChannelHandlerContext, msg GetStoreIdResponse) : void renamed to protected channelRead0(ctx ChannelHandlerContext, msg GetStoreIdResponse) : void in class org.neo4j.coreedge.catchup.storecopy.GetStoreIdResponseHandler | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method protected doChannelRead0(channelHandlerContext ChannelHandlerContext, storeIdAwareMessage RaftMessages.StoreIdAwareMessage) : void from class org.neo4j.coreedge.core.consensus.RaftMessageHandler to protected channelRead0(channelHandlerContext ChannelHandlerContext, storeIdAwareMessage RaftMessages.StoreIdAwareMessage) : void from class org.neo4j.coreedge.core.consensus.RaftServer.RaftMessageHandler | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type factory : Function<Byte,? extends Message> to factory : Factory<? extends Message> in method package SimpleRequestDecoder(factory Factory<? extends Message>) in class org.neo4j.coreedge.catchup.SimpleRequestDecoder | From | To | |
Rename Variable | 1 | ||
Rename Variable logEntries : RaftLogEntry[] to logEntry : RaftLogEntry in method public shouldEncodeAndDecodeAppendEntriesRequest() : void in class org.neo4j.coreedge.messaging.RaftMessageProcessingTest | From | To | |
Change Return Type | 1 | ||
Change Return Type FollowerStates<MemberId> to FollowerStates in method private initialFollowerStates() : FollowerStates in class org.neo4j.coreedge.core.consensus.state.RaftStateTest | From | To | |
Move Attribute | 1 | ||
Move Attribute private log : Log from class org.neo4j.coreedge.core.consensus.RaftMessageHandler to private log : Log from class org.neo4j.coreedge.VersionDecoder | From | To | |
Rename Class | 1 | ||
Rename Class org.neo4j.coreedge.VersionCheckerChannelInboundHandlerTest renamed to org.neo4j.coreedge.VersionDecoderTest | From | To | |
Rename Attribute | 2 | ||
Rename Attribute type : byte to messageType : byte in class org.neo4j.coreedge.catchup.ResponseMessageType | From | To | |
Rename Attribute type : byte to messageType : byte in class org.neo4j.coreedge.catchup.RequestMessageType | From | To | |
Change Variable Type | 1 | ||
Change Variable Type logEntries : RaftLogEntry[] to logEntry : RaftLogEntry in method public shouldEncodeAndDecodeAppendEntriesRequest() : void in class org.neo4j.coreedge.messaging.RaftMessageProcessingTest | From | To | |
Extract Method | 1 | ||
Extract Method private startNettyServer() : void extracted from public start() : void in class org.neo4j.coreedge.core.consensus.RaftServer | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type factory : Function<Byte,? extends Message> to factory : Factory<? extends Message> in class org.neo4j.coreedge.catchup.SimpleRequestDecoder | From | To | |
Inline Variable | 1 | ||
Inline Variable version : byte in method public channelRead(ctx ChannelHandlerContext, msg Object) : void from class org.neo4j.coreedge.catchup.ServerMessageTypeHandler | From | To | |
Rename Parameter | 3 | ||
Rename Parameter version : byte to messageType : byte in method package ResponseMessageType(messageType byte) in class org.neo4j.coreedge.catchup.ResponseMessageType | From | To | |
Rename Parameter version : byte to messageType : byte in method package RequestMessageType(messageType byte) in class org.neo4j.coreedge.catchup.RequestMessageType | From | To | |
Rename Parameter message : GetStoreIdRequest to msg : GetStoreIdRequest in method protected channelRead0(ctx ChannelHandlerContext, msg GetStoreIdRequest) : void in class org.neo4j.coreedge.catchup.storecopy.GetStoreIdRequestHandler | From | To |