f888cea897b7eeca8b270880e159077172e4e0ee
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 1 | ||
Inline Method public removeMany(processing AtomicBoolean, nullify boolean, max_results int) : List<T> inlined to public removeMany(nullify boolean, max_results int) : List<T> in class org.jgroups.util.Table | From | To | |
Rename Variable | 1 | ||
Rename Variable list : List<Message> to batch : MessageBatch in method protected removeAndDeliver(processing AtomicBoolean, win Table<Message>, sender Address) : void in class org.jgroups.protocols.UNICAST3 | From | To | |
Change Variable Type | 2 | ||
Change Variable Type retval : List<T> to retval : R in method public removeMany(processing AtomicBoolean, nullify boolean, max_results int, filter Predicate<T>, result_creator Supplier<R>, accumulator BiConsumer<R,T>, result_validator Predicate<R>) : R in class org.jgroups.util.Table | From | To | |
Change Variable Type list : List<Message> to batch : MessageBatch in method protected removeAndDeliver(processing AtomicBoolean, win Table<Message>, sender Address) : void in class org.jgroups.protocols.UNICAST3 | From | To | |
Extract Method | 2 | ||
Extract Method public removeMany(processing AtomicBoolean, nullify boolean, max_results int, filter Predicate<T>, result_creator Supplier<R>, accumulator BiConsumer<R,T>, result_validator Predicate<R>) : R extracted from public removeMany(processing AtomicBoolean, nullify boolean, max_results int, filter Predicate<T>) : List<T> in class org.jgroups.util.Table | From | To | |
Extract Method public replaceIf(filter Predicate<Message>, replacement Message, match_all boolean) : int extracted from public replace(filter Predicate<Message>, replacement Message, match_all boolean) : MessageBatch in class org.jgroups.util.MessageBatch | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public removeMany(processing AtomicBoolean, nullify boolean, max_results int, filter Predicate<T>, result_creator Supplier<R>, accumulator BiConsumer<R,T>, result_validator Predicate<R>) : R extracted from protected removeAndDeliver(processing AtomicBoolean, win Table<Message>, sender Address) : void in class org.jgroups.protocols.SEQUENCER2 & moved to class org.jgroups.util.Table | From | To | |
Extract And Move Method public removeMany(processing AtomicBoolean, nullify boolean, max_results int, filter Predicate<T>, result_creator Supplier<R>, accumulator BiConsumer<R,T>, result_validator Predicate<R>) : R extracted from protected removeAndPassUp(buf Table<Message>, sender Address, loopback boolean, cluster_name AsciiString) : void in class org.jgroups.protocols.pbcast.NAKACK2 & moved to class org.jgroups.util.Table | From | To | |
Extract And Move Method public removeMany(processing AtomicBoolean, nullify boolean, max_results int, filter Predicate<T>, result_creator Supplier<R>, accumulator BiConsumer<R,T>, result_validator Predicate<R>) : R extracted from protected removeAndDeliver(processing AtomicBoolean, win Table<Message>, sender Address) : void in class org.jgroups.protocols.UNICAST3 & moved to class org.jgroups.util.Table | From | To |