64ee4567c167ddc593c102ff09ef11277e95e02a
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 6 | ||
Move Method public shouldStayCorrectAfterRandomModifications() : void from class org.neo4j.index.gbptree.GBPTreeTest to public shouldStayCorrectAfterRandomModifications() : void from class org.neo4j.index.gbptree.GBPTreeIT | From | To | |
Move Method private randomKey(random Random) : MutableLong from class org.neo4j.index.gbptree.GBPTreeTest to private randomKey(random Random) : MutableLong from class org.neo4j.index.gbptree.GBPTreeIT | From | To | |
Move Method private expectedHits(data Map<MutableLong,MutableLong>, from MutableLong, to MutableLong, comparator Comparator<MutableLong>) : Map<MutableLong,MutableLong> from class org.neo4j.index.gbptree.GBPTreeTest to private expectedHits(data Map<MutableLong,MutableLong>, from MutableLong, to MutableLong, comparator Comparator<MutableLong>) : Map<MutableLong,MutableLong> from class org.neo4j.index.gbptree.GBPTreeIT | From | To | |
Move Method private randomKey(data Map<MutableLong,MutableLong>, random Random) : MutableLong from class org.neo4j.index.gbptree.GBPTreeTest to private randomKey(data Map<MutableLong,MutableLong>, random Random) : MutableLong from class org.neo4j.index.gbptree.GBPTreeIT | From | To | |
Move Method public shouldReadCorrectlyWhenConcurrentlyInsertingInOrder() : void from class org.neo4j.index.gbptree.GBPTreeTest to public shouldReadCorrectlyWhenConcurrentlyInsertingInOrder() : void from class org.neo4j.index.gbptree.GBPTreeIT | From | To | |
Move Method private randomlyModifyIndex(index Index<MutableLong,MutableLong>, data Map<MutableLong,MutableLong>, random Random) : void from class org.neo4j.index.gbptree.GBPTreeTest to private randomlyModifyIndex(index Index<MutableLong,MutableLong>, data Map<MutableLong,MutableLong>, random Random) : void from class org.neo4j.index.gbptree.GBPTreeIT | From | To | |
Inline Method | 2 | ||
Inline Method private rereadCurrentNodeHeader() : void inlined to public next() : boolean in class org.neo4j.index.gbptree.SeekCursor | From | To | |
Extract Class | 1 | ||
Extract Class org.neo4j.index.gbptree.GBPTreeIT from class org.neo4j.index.gbptree.GBPTreeTest | From | To | |
Extract Variable | 1 | ||
Extract Variable keyToRediscover : KEY in method private rediscoverKeyPosition() : void from class org.neo4j.index.gbptree.SeekCursor | From | To | |
Extract Method | 5 | ||
Extract Method private goToRoot(cursor PageCursor, rootId long, stableGeneration long, unstableGeneration long) : void extracted from private goToRoot(cursor PageCursor, stableGeneration long, unstableGeneration long) : void in class org.neo4j.index.gbptree.GBPTree | From | To | |
Extract Method package setRoot(newRootId long, generation long) : void extracted from private loadState(pagedFile PagedFile) : void in class org.neo4j.index.gbptree.GBPTree | From | To | |
Extract Method private checkpointerThread(minCheckpointInterval int, maxCheckpointInterval int, endSignal AtomicBoolean) : Thread extracted from public shouldReadCorrectlyWhenConcurrentlyInsertingInOrder() : void in class org.neo4j.index.gbptree.GBPTreeIT | From | To | |
Extract Method package printTree(printValues boolean) : void extracted from package printTree() : void in class org.neo4j.index.gbptree.GBPTree | From | To | |
Extract Method private generationCatchup() : boolean extracted from private pointerCheckingWithGenerationCatchup(pointer long, allowNoNode boolean) : boolean in class org.neo4j.index.gbptree.SeekCursor | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method package setRoot(newRootId long, generation long) : void extracted from public merge(key KEY, value VALUE, valueMerger ValueMerger<VALUE>) : void in class org.neo4j.index.gbptree.GBPTree.SingleIndexWriter & moved to class org.neo4j.index.gbptree.GBPTree | From | To | |
Extract And Move Method package setRoot(newRootId long, generation long) : void extracted from public remove(key KEY) : VALUE in class org.neo4j.index.gbptree.GBPTree.SingleIndexWriter & moved to class org.neo4j.index.gbptree.GBPTree | From | To |