959d5b83317b508704d15283c078297b2610196f
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method protected fetchNext() : boolean renamed to protected doFetchNext() : boolean in class org.neo4j.kernel.impl.api.store.StoreIteratorRelationshipCursor | From | To | |
| Rename Method protected fetchNext() : boolean renamed to protected doFetchNext() : boolean in class org.neo4j.kernel.impl.api.store.StoreNodeRelationshipCursor | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type relTypes : IntPredicate to relTypes : int[] in method public nodeGetRelationships(statement StorageStatement, node NodeItem, direction Direction, relTypes int[], state ReadableTransactionState) : Cursor<RelationshipItem> in class org.neo4j.kernel.impl.api.store.StorageLayer | From | To | |
| Move Method | 5 | ||
| Move Method private contains(array int[], candidate int) : boolean from class org.neo4j.kernel.impl.api.state.TxStateTest to private contains(array int[], candidate int) : boolean from class org.neo4j.kernel.impl.api.store.StoreNodeRelationshipCursorTest | From | To | |
| Move Method private assertRelationshipEquals(expected RelationshipItem, relationship RelationshipItem) : void from class org.neo4j.kernel.impl.api.state.TxStateTest to private assertRelationshipEquals(expected RelationshipItem, relationship RelationshipItem) : void from class org.neo4j.kernel.impl.api.store.StoreNodeRelationshipCursorTest | From | To | |
| Move Method public shouldObserveCorrectAugmentedNodeRelationshipsState() : void from class org.neo4j.kernel.impl.api.state.TxStateTest to public shouldObserveCorrectAugmentedNodeRelationshipsState() : void from class org.neo4j.kernel.impl.api.store.StoreNodeRelationshipCursorTest | From | To | |
| Move Method private relationshipsForNode(nodeId long, allRelationships Map<Long,RelationshipItem>, direction Direction, relationshipTypes int[]) : Map<Long,RelationshipItem> from class org.neo4j.kernel.impl.api.state.TxStateTest to private relationshipsForNode(nodeId long, allRelationships Map<Long,RelationshipItem>, direction Direction, relationshipTypes int[]) : Map<Long,RelationshipItem> from class org.neo4j.kernel.impl.api.store.StoreNodeRelationshipCursorTest | From | To | |
| Move Method private randomTypes(high int, random Random) : int[] from class org.neo4j.kernel.impl.api.state.TxStateTest to private randomTypes(high int, random Random) : int[] from class org.neo4j.kernel.impl.api.store.StoreNodeRelationshipCursorTest | From | To | |
| Rename Variable | 2 | ||
| Rename Variable nodeState : NodeState to state : ReadableTransactionState in method public nodeGetRelationships(statement KernelStatement, node NodeItem, direction Direction, relTypes int[]) : Cursor<RelationshipItem> in class org.neo4j.kernel.impl.api.StateHandlingStatementOperations | From | To | |
| Rename Variable nodeState : NodeState to state : ReadableTransactionState in method public nodeGetRelationships(statement KernelStatement, node NodeItem, direction Direction) : Cursor<RelationshipItem> in class org.neo4j.kernel.impl.api.StateHandlingStatementOperations | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.neo4j.kernel.impl.api.store.StoreAbstractIteratorRelationshipCursor from classes [org.neo4j.kernel.impl.api.store.StoreIteratorRelationshipCursor, org.neo4j.kernel.impl.api.store.StoreNodeRelationshipCursor] | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type nodeState : NodeState to state : ReadableTransactionState in method public nodeGetRelationships(statement KernelStatement, node NodeItem, direction Direction, relTypes int[]) : Cursor<RelationshipItem> in class org.neo4j.kernel.impl.api.StateHandlingStatementOperations | From | To | |
| Change Variable Type nodeState : NodeState to state : ReadableTransactionState in method public nodeGetRelationships(statement KernelStatement, node NodeItem, direction Direction) : Cursor<RelationshipItem> in class org.neo4j.kernel.impl.api.StateHandlingStatementOperations | From | To | |
| Extract Variable | 2 | ||
| Extract Variable id : long in method public nodeGetRelationships(statement KernelStatement, node NodeItem, direction Direction) : Cursor<RelationshipItem> from class org.neo4j.kernel.impl.api.StateHandlingStatementOperations | From | To | |
| Extract Variable id : long in method public nodeGetRelationships(statement KernelStatement, node NodeItem, direction Direction, relTypes int[]) : Cursor<RelationshipItem> from class org.neo4j.kernel.impl.api.StateHandlingStatementOperations | From | To |