f173fe53cddd9eccb55157315ff256caf2016a56
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 2 | ||
| Pull Up Method public close() : void from class org.neo4j.coreedge.raft.state.CoreState.CursorApplier to public close() : void from class org.neo4j.coreedge.raft.state.CoreState.LogEntrySupplier | From | To | |
| Pull Up Method public get(indexToApply long) : RaftLogEntry from class org.neo4j.coreedge.raft.state.CoreState.CursorApplier to private getUsingCursor(logIndex long) : RaftLogEntry from class org.neo4j.coreedge.raft.state.CoreState.LogEntrySupplier | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method private handleBatch(lastIndex long, distributedOperations List<DistributedOperation>) : void from class org.neo4j.coreedge.raft.state.CoreState to private flush() : void from class org.neo4j.coreedge.raft.state.CoreState.OperationBatcher | From | To | |
| Pull Up Attribute | 1 | ||
| Pull Up Attribute package cursor : RaftLogCursor from class org.neo4j.coreedge.raft.state.CoreState.CursorApplier to private cursor : RaftLogCursor from class org.neo4j.coreedge.raft.state.CoreState.LogEntrySupplier | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private maxBatchSize : int from class org.neo4j.coreedge.raft.state.CoreState to private maxBatchSize : int from class org.neo4j.coreedge.raft.state.CoreState.OperationBatcher | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter indexToApply : long to logIndex : long in method private getUsingCursor(logIndex long) : RaftLogEntry in class org.neo4j.coreedge.raft.state.CoreState.LogEntrySupplier | From | To | |
| Rename Parameter indexToApply : long to logIndex : long in method public get(logIndex long) : RaftLogEntry in class org.neo4j.coreedge.raft.state.CoreState.LogEntrySupplier | From | To |