a0ccdf1f5b0e9dadb1dfb42d7f7418f3c1951e6c
Files Diff
- Added: 8
- Removed: 2
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public shouldBeElectedLeader() : void renamed to public shouldBeElectedLeaderOnReceivingGrantedVoteResponseWithCurrentTerm() : void in class org.neo4j.coreedge.raft.roles.CandidateTest | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public followerShouldVoteForOnlyOneCandidatePerElection() : void from class org.neo4j.coreedge.raft.roles.FollowerTest to public shouldVoteForOnlyOneCandidatePerTerm() : void from class org.neo4j.coreedge.raft.roles.VoteRequestTest | From | To | |
Move Method | 1 | ||
Move Method package appendNewEntry(ctx ReadableRaftState<MEMBER>, outcome Outcome<MEMBER>, content ReplicatedContent) : void from class org.neo4j.coreedge.raft.roles.Leader to public appendNewEntry(ctx ReadableRaftState<MEMBER>, outcome Outcome<MEMBER>, content ReplicatedContent) : void from class org.neo4j.coreedge.raft.roles.Appending | From | To | |
Move Attribute | 2 | ||
Move Attribute private leader : RaftTestMember from class org.neo4j.coreedge.raft.roles.FollowerTest to private leader : RaftTestMember from class org.neo4j.coreedge.raft.roles.HeartbeatTest | From | To | |
Move Attribute private leader : RaftTestMember from class org.neo4j.coreedge.raft.roles.FollowerTest to private leader : RaftTestMember from class org.neo4j.coreedge.raft.roles.AppendEntriesRequestTest | From | To | |
Rename Class | 1 | ||
Rename Class org.neo4j.coreedge.raft.BallotTest renamed to org.neo4j.coreedge.raft.VotingTest | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.neo4j.coreedge.raft.Ballot moved and renamed to org.neo4j.coreedge.raft.roles.Voting | From | To | |
Rename Attribute | 1 | ||
Rename Attribute role : RaftMessageHandler to handler : RaftMessageHandler in class org.neo4j.coreedge.raft.roles.Role | From | To | |
Extract Method | 1 | ||
Extract Method public newState() : RaftState<RaftTestMember> extracted from public shouldBeElectedLeader() : void in class org.neo4j.coreedge.raft.roles.CandidateTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter role : RaftMessageHandler to handler : RaftMessageHandler in method package Role(handler RaftMessageHandler) in class org.neo4j.coreedge.raft.roles.Role | From | To |