579b58c1216124eac4c1849f6b518fdf76e57c58
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method package setKeyAt(cursor PageCursor, key KEY, pos int, type Type) : void renamed to package setKeyAtInternal(cursor PageCursor, key KEY, pos int) : boolean in class org.neo4j.index.internal.gbptree.TreeNodeFixedSize | From | To | |
Rename Method private doInsert(cursor PageCursor, structurePropagation StructurePropagation<KEY>, key KEY, value VALUE, pos int, keyCount int, stableGeneration long, unstableGeneration long) : boolean renamed to private doInsertInLeaf(cursor PageCursor, structurePropagation StructurePropagation<KEY>, key KEY, value VALUE, pos int, keyCount int, stableGeneration long, unstableGeneration long) : boolean in class org.neo4j.index.internal.gbptree.InternalTreeLogic | From | To | |
Rename Method package abstract setKeyAt(cursor PageCursor, key KEY, pos int, type Type) : void renamed to package abstract setKeyAtInternal(cursor PageCursor, key KEY, pos int) : boolean in class org.neo4j.index.internal.gbptree.TreeNode | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type layout : Layout<KEY,VALUE> to comparator : Comparator<KEY> in method private indexOf(theKey KEY, keys List<KEY>, comparator Comparator<KEY>) : int in class org.neo4j.index.internal.gbptree.InternalTreeLogicTestBase | From | To | |
Change Return Type | 5 | ||
Change Return Type void to boolean in method package setKeyAtInternal(cursor PageCursor, key KEY, pos int) : boolean in class org.neo4j.index.internal.gbptree.TreeNodeFixedSize | From | To | |
Change Return Type boolean to Overflow in method package internalOverflow(cursor PageCursor, currentKeyCount int, newKey KEY) : Overflow in class org.neo4j.index.internal.gbptree.TreeNodeFixedSize | From | To | |
Change Return Type void to boolean in method package abstract setKeyAtInternal(cursor PageCursor, key KEY, pos int) : boolean in class org.neo4j.index.internal.gbptree.TreeNode | From | To | |
Change Return Type boolean to Overflow in method package abstract internalOverflow(cursor PageCursor, currentKeyCount int, newKey KEY) : Overflow in class org.neo4j.index.internal.gbptree.TreeNode | From | To | |
Change Return Type boolean to Overflow in method package internalOverflow(cursor PageCursor, currentKeyCount int, newKey KEY) : Overflow in class org.neo4j.index.internal.gbptree.TreeNodeDynamicSize | From | To | |
Change Variable Type | 1 | ||
Change Variable Type overflow : TreeNode.Overflow to overflow : Overflow in method public shouldInsertAndRemoveRandomKeysAndValues() : void in class org.neo4j.index.internal.gbptree.TreeNodeTestBase | From | To | |
Extract Variable | 1 | ||
Extract Variable overflow : Overflow in method private doInsertInInternal(cursor PageCursor, structurePropagation StructurePropagation<KEY>, keyCount int, primKey KEY, rightChild long, stableGeneration long, unstableGeneration long) : void from class org.neo4j.index.internal.gbptree.InternalTreeLogic | From | To | |
Extract Method | 4 | ||
Extract Method private doInsertInInternal(cursor PageCursor, structurePropagation StructurePropagation<KEY>, keyCount int, primKey KEY, rightChild long, stableGeneration long, unstableGeneration long) : void extracted from private insertInInternal(cursor PageCursor, structurePropagation StructurePropagation<KEY>, keyCount int, primKey KEY, rightChild long, stableGeneration long, unstableGeneration long) : void in class org.neo4j.index.internal.gbptree.InternalTreeLogic | From | To | |
Extract Method private overwriteKeyInternal(cursor PageCursor, structurePropagation StructurePropagation<KEY>, newKey KEY, pos int, stableGeneration long, unstableGeneration long) : void extracted from private replaceKeyByBubbleRightmostFromSubtree(cursor PageCursor, structurePropagation StructurePropagation<KEY>, subtreePosition int, stableGeneration long, unstableGeneration long) : void in class org.neo4j.index.internal.gbptree.InternalTreeLogic | From | To | |
Extract Method private overwriteKeyInternal(cursor PageCursor, structurePropagation StructurePropagation<KEY>, newKey KEY, pos int, stableGeneration long, unstableGeneration long) : void extracted from private handleStructureChanges(cursor PageCursor, structurePropagation StructurePropagation<KEY>, stableGeneration long, unstableGeneration long) : void in class org.neo4j.index.internal.gbptree.InternalTreeLogic | From | To | |
Rename Parameter | 1 | ||
Rename Parameter layout : Layout<KEY,VALUE> to comparator : Comparator<KEY> in method private indexOf(theKey KEY, keys List<KEY>, comparator Comparator<KEY>) : int in class org.neo4j.index.internal.gbptree.InternalTreeLogicTestBase | From | To |