904ecca036298e024aef6050f0a5afa16e10e163
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 32
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public forEachReplicableEntry(action Consumer<? super ReplicableEntry>) : void renamed to public forEachSegmentReplicableEntryWhile(predicate Predicate<? super ReplicableEntry>) : boolean in class net.openhft.chronicle.map.impl.stage.iter.ReplicatedMapSegmentIteration | From | To | |
| Pull Up Method | 1 | ||
| Pull Up Method public actualSegments() : int from class net.openhft.chronicle.map.VanillaChronicleMap to public segments() : int from class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type action : Consumer<? super ReplicableEntry> to predicate : Predicate<? super ReplicableEntry> in method public forEachSegmentReplicableEntryWhile(predicate Predicate<? super ReplicableEntry>) : boolean in class net.openhft.chronicle.map.impl.stage.iter.ReplicatedMapSegmentIteration | From | To | |
| Move Method | 1 | ||
| Move Method public defaultValue() : Data<V> from class net.openhft.chronicle.map.impl.stage.query.MapAbsent to public defaultValue() : Data<V> from class net.openhft.chronicle.map.impl.stage.map.DefaultValue | From | To | |
| Change Return Type | 1 | ||
| Change Return Type void to boolean in method public forEachSegmentReplicableEntryWhile(predicate Predicate<? super ReplicableEntry>) : boolean in class net.openhft.chronicle.map.impl.stage.iter.ReplicatedMapSegmentIteration | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute re : MapReplicableEntry to e : HashEntryStages<K> in method public dirtyEntries(fromTimeStamp long) : void in class net.openhft.chronicle.map.ReplicatedChronicleMap.ModificationIterator | From | To | |
| Extract Method | 2 | ||
| Extract Method public iterationRemove() : void extracted from public doRemove() : void in class net.openhft.chronicle.hash.impl.stage.iter.HashSegmentIteration | From | To | |
| Extract Method public allocReturnCode(chunks int) : long extracted from public alloc(chunks int) : long in class net.openhft.chronicle.hash.impl.stage.entry.SegmentStages | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter action : Consumer<? super ReplicableEntry> to predicate : Predicate<? super ReplicableEntry> in method public forEachSegmentReplicableEntryWhile(predicate Predicate<? super ReplicableEntry>) : boolean in class net.openhft.chronicle.map.impl.stage.iter.ReplicatedMapSegmentIteration | From | To |