3eb2429293d99ae6e37513a6243eca129858968b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private checkIndexToLabels(record NodeRecord, engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, records RecordAccess, propertyRecs Collection<PropertyRecord>) : void renamed to private matchIndexesToNode(record NodeRecord, engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, records RecordAccess, propertyRecs Collection<PropertyRecord>) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type propertyValue : Object to propertyValues : Object[] in method private reportIncorrectIndexCount(propertyValues Object[], engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, indexRule IndexRule, count long) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Rename Variable | 2 | ||
Rename Variable propertyValue : Object to values : Object[] in method private matchIndexesToNode(record NodeRecord, engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, records RecordAccess, propertyRecs Collection<PropertyRecord>) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Rename Variable propertyId : int to indexPropertyIds : int[] in method private matchIndexesToNode(record NodeRecord, engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, records RecordAccess, propertyRecs Collection<PropertyRecord>) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable indexedNodeId : long to count : long in method private reportIncorrectIndexCount(propertyValues Object[], engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, indexRule IndexRule, count long) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Rename Attribute | 1 | ||
Rename Attribute key : int to key1 : int in class org.neo4j.consistency.checking.full.FullCheckIntegrationTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type propertyValue : Object to values : Object[] in method private matchIndexesToNode(record NodeRecord, engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, records RecordAccess, propertyRecs Collection<PropertyRecord>) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Change Variable Type propertyId : int to indexPropertyIds : int[] in method private matchIndexesToNode(record NodeRecord, engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, records RecordAccess, propertyRecs Collection<PropertyRecord>) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Extract Method | 2 | ||
Extract Method private reportIncorrectIndexCount(propertyValues Object[], engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, indexRule IndexRule, count long) : void extracted from private verifyNodeCorrectlyIndexedUniquely(nodeId long, propertyKeyId int, propertyValue Object, engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, indexRule IndexRule, reader IndexReader) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Extract Method private queryIndexOrEmpty(reader IndexReader, query IndexQuery[]) : PrimitiveLongIterator extracted from private verifyNodeCorrectlyIndexedUniquely(nodeId long, propertyKeyId int, propertyValue Object, engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, indexRule IndexRule, reader IndexReader) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To | |
Rename Parameter | 1 | ||
Rename Parameter propertyValue : Object to propertyValues : Object[] in method private reportIncorrectIndexCount(propertyValues Object[], engine CheckerEngine<NodeRecord,ConsistencyReport.NodeConsistencyReport>, indexRule IndexRule, count long) : void in class org.neo4j.consistency.checking.full.PropertyAndNodeIndexedCheck | From | To |