4b33f67d3c3f205fc911b77dfca9d98024e492eb
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type term : long to terms : long[] in method package serializable(terms long[]) : RaftLogEntryTermSerializer in class org.neo4j.causalclustering.messaging.marshalling.v2.encoding.RaftLogEntryTermEncoder | From | To | |
Change Parameter Type term : long to term : long[] in method package RaftLogEntryTerms(term long[]) in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermsDecoder.RaftLogEntryTerms | From | To | |
Change Parameter Type result : BiFunction<Supplier<RaftLogEntry[]>,Supplier<ReplicatedContent>,RaftMessages.BaseRaftMessage> to result : BiFunction<Queue<Long>,Queue<ReplicatedContent>,RaftMessages.BaseRaftMessage> in method package RaftMessageCreator(result BiFunction<Queue<Long>,Queue<ReplicatedContent>,RaftMessages.BaseRaftMessage>, clusterId ClusterId) in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftMessageDecoder.RaftMessageCreator | From | To | |
Change Parameter Type term : long to terms : long[] in method private RaftLogEntryTermSerializer(terms long[]) in class org.neo4j.causalclustering.messaging.marshalling.v2.encoding.RaftLogEntryTermEncoder.RaftLogEntryTermSerializer | From | To | |
Rename Variable | 1 | ||
Rename Variable l : long to terms : long[] in method protected decode(ctx ChannelHandlerContext, in ByteBuf, out List<Object>) : void in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermsDecoder | From | To | |
Change Return Type | 2 | ||
Change Return Type long to long[] in method public terms() : long[] in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermsDecoder.RaftLogEntryTerms | From | To | |
Change Return Type BiFunction<Supplier<RaftLogEntry[]>,Supplier<ReplicatedContent>,RaftMessages.BaseRaftMessage> to BiFunction<Queue<Long>,Queue<ReplicatedContent>,RaftMessages.BaseRaftMessage> in method private noContent(message RaftMessages.BaseRaftMessage) : BiFunction<Queue<Long>,Queue<ReplicatedContent>,RaftMessages.BaseRaftMessage> in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftMessageDecoder | From | To | |
Rename Class | 1 | ||
Rename Class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermDecoder renamed to org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermsDecoder | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermDecoder.RaftLogEntryTerm moved and renamed to org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermsDecoder.RaftLogEntryTerms | From | To | |
Rename Attribute | 1 | ||
Rename Attribute term : long to terms : long[] in class org.neo4j.causalclustering.messaging.marshalling.v2.encoding.RaftLogEntryTermEncoder.RaftLogEntryTermSerializer | From | To | |
Change Variable Type | 2 | ||
Change Variable Type l : long to terms : long[] in method protected decode(ctx ChannelHandlerContext, in ByteBuf, out List<Object>) : void in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermsDecoder | From | To | |
Change Variable Type result : BiFunction<Supplier<RaftLogEntry[]>,Supplier<ReplicatedContent>,RaftMessages.BaseRaftMessage> to result : BiFunction<Queue<Long>,Queue<ReplicatedContent>,RaftMessages.BaseRaftMessage> in method public decode(ctx ChannelHandlerContext, buffer ByteBuf, list List<Object>) : void in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftMessageDecoder | From | To | |
Extract Variable | 1 | ||
Extract Variable decodingDispatcher : DecodingDispatcher in method public install(channel Channel) : void from class org.neo4j.causalclustering.core.consensus.protocol.v2.RaftProtocolServerInstaller | From | To | |
Extract Method | 1 | ||
Extract Method private release() : void extracted from protected decode(ctx ChannelHandlerContext, in ByteBuf, out List<Object>) : void in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.ReplicatedContentChunkDecoder | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type result : BiFunction<Supplier<RaftLogEntry[]>,Supplier<ReplicatedContent>,RaftMessages.BaseRaftMessage> to result : BiFunction<Queue<Long>,Queue<ReplicatedContent>,RaftMessages.BaseRaftMessage> in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftMessageDecoder.RaftMessageCreator | From | To | |
Change Attribute Type term : long to terms : long[] in class org.neo4j.causalclustering.messaging.marshalling.v2.encoding.RaftLogEntryTermEncoder.RaftLogEntryTermSerializer | From | To | |
Change Attribute Type raftLogEntries : RaftLogEntries to raftLogEntries : Queue<Long> in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftMessageComposer | From | To | |
Change Attribute Type term : long to term : long[] in class org.neo4j.causalclustering.messaging.marshalling.v2.decoding.RaftLogEntryTermsDecoder.RaftLogEntryTerms | From | To | |
Rename Parameter | 2 | ||
Rename Parameter term : long to terms : long[] in method package serializable(terms long[]) : RaftLogEntryTermSerializer in class org.neo4j.causalclustering.messaging.marshalling.v2.encoding.RaftLogEntryTermEncoder | From | To | |
Rename Parameter term : long to terms : long[] in method private RaftLogEntryTermSerializer(terms long[]) in class org.neo4j.causalclustering.messaging.marshalling.v2.encoding.RaftLogEntryTermEncoder.RaftLogEntryTermSerializer | From | To |