8e2aee813044f018170d15fbefd6c5855fb8fcc0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type listener : Consumer<Void> to listener : Consumer<Long> in method private ElectionListener(listener Consumer<Long>) in class net.kuujo.copycat.coordination.DistributedLeaderElection.ElectionListener | From | To | |
Change Parameter Type listener : Consumer<Void> to listener : Consumer<Long> in method public onElection(listener Consumer<Long>) : CompletableFuture<Listener<Long>> in class net.kuujo.copycat.coordination.DistributedLeaderElection | From | To | |
Change Parameter Type event : Void to epoch : Long in method public accept(epoch Long) : void in class net.kuujo.copycat.coordination.DistributedLeaderElection.ElectionListener | From | To | |
Change Return Type | 1 | ||
Change Return Type CompletableFuture<Listener<Void>> to CompletableFuture<Listener<Long>> in method public onElection(listener Consumer<Long>) : CompletableFuture<Listener<Long>> in class net.kuujo.copycat.coordination.DistributedLeaderElection | From | To | |
Change Variable Type | 1 | ||
Change Variable Type listener : Consumer<Void> to listener : Consumer<Long> in method protected open(context ResourceContext) : void in class net.kuujo.copycat.coordination.DistributedLeaderElection | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type listener : Consumer<Void> to listener : Consumer<Long> in class net.kuujo.copycat.coordination.DistributedLeaderElection.ElectionListener | From | To | |
Change Attribute Type listeners : Set<Consumer<Void>> to listeners : Set<Consumer<Long>> in class net.kuujo.copycat.coordination.DistributedLeaderElection | From | To | |
Rename Parameter | 1 | ||
Rename Parameter event : Void to epoch : Long in method public accept(epoch Long) : void in class net.kuujo.copycat.coordination.DistributedLeaderElection.ElectionListener | From | To |