d7bcb8fe3448c63be858fb57446a65599842fff3
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public recoveryCompleted(numberOfPagesVisited long, numberOfCleanedCrashPointers long, durationMillis long) : void renamed to public cleanupFinished(numberOfPagesVisited long, numberOfCleanedCrashPointers long, durationMillis long) : void in class org.neo4j.index.internal.gbptree.SimpleCleanupMonitor | From | To | |
Rename Method public recoveryCompleted(numberOfPagesVisited long, numberOfCleanedCrashPointers long, durationMillis long) : void renamed to public cleanupFinished(numberOfPagesVisited long, numberOfCleanedCrashPointers long, durationMillis long) : void in class org.neo4j.index.internal.gbptree.GBPTree.Monitor | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method private assertPagesVisisted(monitor SimpleCleanupMonitor, expectedNumberOfPagesVisited int) : void in class org.neo4j.index.internal.gbptree.CrashGenerationCleanerTest | From | To | |
Change Parameter Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method private crashGenerationCleaner(pagedFile PagedFile, lowTreeNodeId int, highTreeNodeId int, monitor SimpleCleanupMonitor) : CrashGenerationCleaner in class org.neo4j.index.internal.gbptree.CrashGenerationCleanerTest | From | To | |
Change Parameter Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method private assertCleanedCrashPointers(monitor SimpleCleanupMonitor, expectedNumberOfCleanedCrashPointers int) : void in class org.neo4j.index.internal.gbptree.CrashGenerationCleanerTest | From | To | |
Rename Class | 1 | ||
Rename Class org.neo4j.index.internal.gbptree.SimpleRecoveryCompleteMonitor renamed to org.neo4j.index.internal.gbptree.SimpleCleanupMonitor | From | To | |
Rename Attribute | 1 | ||
Rename Attribute recoveryCompleted : boolean to cleanupFinished : boolean in class org.neo4j.index.internal.gbptree.SimpleCleanupMonitor | From | To | |
Change Variable Type | 6 | ||
Change Variable Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method public shouldCleanOneCrashPerPage() : void in class org.neo4j.index.internal.gbptree.CrashGenerationCleanerTest | From | To | |
Change Variable Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method public mustBumpUnstableGenerationOnOpen() : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To | |
Change Variable Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method public shouldCleanLargeFile() : void in class org.neo4j.index.internal.gbptree.CrashGenerationCleanerTest | From | To | |
Change Variable Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method public shouldNotCrashOnEmptyFile() : void in class org.neo4j.index.internal.gbptree.CrashGenerationCleanerTest | From | To | |
Change Variable Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method public shouldNotReportErrorsOnCleanPages() : void in class org.neo4j.index.internal.gbptree.CrashGenerationCleanerTest | From | To | |
Change Variable Type monitor : SimpleRecoveryCompleteMonitor to monitor : SimpleCleanupMonitor in method public shouldCleanMultipleCrashPerPage() : void in class org.neo4j.index.internal.gbptree.CrashGenerationCleanerTest | From | To | |
Extract Method | 5 | ||
Extract Method private verifyHeaderDataAfterClose(beforeClose BiConsumer<GBPTree<MutableLong,MutableLong>,byte[]>) : void extracted from public shouldReplaceHeaderDataInNextCheckPoint() : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To | |
Extract Method private verifyHeaderDataAfterClose(beforeClose BiConsumer<GBPTree<MutableLong,MutableLong>,byte[]>) : void extracted from public shouldPutHeaderDataInCheckPoint() : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To | |
Extract Method private insert(index GBPTree<MutableLong,MutableLong>, key long, value long) : void extracted from public mustBumpUnstableGenerationOnOpen() : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To | |
Extract Method private insert(index GBPTree<MutableLong,MutableLong>, key long, value long) : void extracted from public mustNotSeeUpdatesThatWasNotCheckpointed() : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To | |
Extract Method private insert(index GBPTree<MutableLong,MutableLong>, key long, value long) : void extracted from public mustSeeUpdatesThatWasCheckpointed() : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To |