78cd9ed967f79b773e184f35bbde4c795dc80e22
Files Diff
- Added: 0
- Removed: 5
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type commit : Commit<LeaderElectionCommands.Resign> to commit : Commit<MembershipGroupCommands.Resign> in method public resign(commit Commit<MembershipGroupCommands.Resign>) : void in class io.atomix.coordination.state.MembershipGroupState | From | To | |
Move Method | 1 | ||
Move Method public resign(commit Commit<LeaderElectionCommands.Resign>) : void from class io.atomix.coordination.state.LeaderElectionState to public resign(commit Commit<MembershipGroupCommands.Resign>) : void from class io.atomix.coordination.state.MembershipGroupState | From | To | |
Rename Variable | 1 | ||
Rename Variable election : DistributedLeaderElection to group : DistributedMembershipGroup in method public main(args String[]) : void in class io.atomix.examples.election.LeaderElectionExample | From | To | |
Change Return Type | 2 | ||
Change Return Type CompactionMode to Command.CompactionMode in method public compaction() : Command.CompactionMode in class io.atomix.coordination.state.MembershipGroupCommands.Resign | From | To | |
Change Return Type CompletableFuture<GroupMember> to GroupMember in method public member(memberId long) : GroupMember in class io.atomix.coordination.DistributedMembershipGroup | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class io.atomix.coordination.state.LeaderElectionCommands.Listen moved and renamed to io.atomix.coordination.state.MembershipGroupCommands.Resign | From | To | |
Change Variable Type | 2 | ||
Change Variable Type election : DistributedLeaderElection to group : DistributedMembershipGroup in method public main(args String[]) : void in class io.atomix.examples.election.LeaderElectionExample | From | To | |
Change Variable Type left : Set<Long> to left : Map<Long,Commit<MembershipGroupCommands.Join>> in method public close(session Session) : void in class io.atomix.coordination.state.MembershipGroupState | From | To | |
Extract Variable | 1 | ||
Extract Variable memberId : long in method public close(session Session) : void from class io.atomix.coordination.state.MembershipGroupState | From | To |