6152e9a7be2773eb6f3207d39922aa5aecba01fb
Files Diff
- Added: 1
- Removed: 3
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 2 | ||
Pull Up Method public member() : long from class io.atomix.coordination.state.MembershipGroupCommands.Execute to public member() : long from class io.atomix.coordination.state.MembershipGroupCommands.MemberCommand | From | To | |
Pull Up Method public member() : long from class io.atomix.coordination.state.MembershipGroupCommands.Schedule to public member() : long from class io.atomix.coordination.state.MembershipGroupCommands.MemberCommand | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public unlisten(commit Commit<TopicCommands.Unlisten>) : void from class io.atomix.coordination.state.TopicState to public removeProperty(commit Commit<MembershipGroupCommands.RemoveProperty>) : void from class io.atomix.coordination.state.MembershipGroupState | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type commit : Commit<TopicCommands.Unlisten> to commit : Commit<MembershipGroupCommands.RemoveProperty> in method public removeProperty(commit Commit<MembershipGroupCommands.RemoveProperty>) : void in class io.atomix.coordination.state.MembershipGroupState | From | To | |
Change Parameter Type message : T to message : Object in method public accept(message Object) : void in class io.atomix.coordination.DistributedMembershipGroup.InternalLocalGroupMember.ListenerHolder | From | To | |
Change Parameter Type listener : Consumer<T> to consumer : Consumer in method private ListenerHolder(consumer Consumer) in class io.atomix.coordination.DistributedMembershipGroup.InternalLocalGroupMember.ListenerHolder | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private member : long from class io.atomix.coordination.state.MembershipGroupCommands.Schedule to private member : long from class io.atomix.coordination.state.MembershipGroupCommands.MemberCommand | From | To | |
Pull Up Attribute private member : long from class io.atomix.coordination.state.MembershipGroupCommands.Execute to private member : long from class io.atomix.coordination.state.MembershipGroupCommands.MemberCommand | From | To | |
Change Return Type | 4 | ||
Change Return Type CompletableFuture<GroupMember> to CompletableFuture<LocalGroupMember> in method public join() : CompletableFuture<LocalGroupMember> in class io.atomix.coordination.DistributedMembershipGroup | From | To | |
Change Return Type GroupMember to LocalGroupMember in method public member() : LocalGroupMember in class io.atomix.coordination.DistributedMembershipGroup | From | To | |
Change Return Type GroupMember to CompletableFuture<GroupMember> in method public member(memberId long) : CompletableFuture<GroupMember> in class io.atomix.coordination.DistributedMembershipGroup | From | To | |
Change Return Type Collection<GroupMember> to CompletableFuture<Collection<GroupMember>> in method public members() : CompletableFuture<Collection<GroupMember>> in class io.atomix.coordination.DistributedMembershipGroup | From | To | |
Move And Rename Class | 4 | ||
Move And Rename Class io.atomix.coordination.DistributedTopic.TopicListener moved and renamed to io.atomix.coordination.DistributedMembershipGroup.InternalLocalGroupMember.ListenerHolder | From | To | |
Move And Rename Class io.atomix.coordination.state.TopicCommands.TopicCommand moved and renamed to io.atomix.coordination.state.MembershipGroupCommands.GroupQuery | From | To | |
Move And Rename Class io.atomix.coordination.state.TopicCommands.Listen moved and renamed to io.atomix.coordination.state.MembershipGroupCommands.List | From | To | |
Move And Rename Class io.atomix.coordination.state.TopicCommands.Unlisten moved and renamed to io.atomix.coordination.state.MembershipGroupCommands.RemoveProperty | From | To | |
Extract Superclass | 2 | ||
Extract Superclass io.atomix.coordination.state.MembershipGroupCommands.PropertyCommand from classes [io.atomix.coordination.state.MembershipGroupCommands.RemoveProperty] | From | To | |
Extract Superclass io.atomix.coordination.state.MembershipGroupCommands.MemberCommand from classes [io.atomix.coordination.state.MembershipGroupCommands.Schedule, io.atomix.coordination.state.MembershipGroupCommands.Execute] | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type member : GroupMember to member : InternalLocalGroupMember in class io.atomix.coordination.DistributedMembershipGroup | From | To | |
Rename Parameter | 1 | ||
Rename Parameter listener : Consumer<T> to consumer : Consumer in method private ListenerHolder(consumer Consumer) in class io.atomix.coordination.DistributedMembershipGroup.InternalLocalGroupMember.ListenerHolder | From | To |