92319ebbfc5ed6d13b894fc1fc90b4ca4ac53b24
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private checkMandatoryProperty(propertyKey int, records RecordAccess, engine CheckerEngine<DynamicRecord,ConsistencyReport.SchemaConsistencyReport>) : void renamed to private checkMandatoryNodePropertyRule(rule MandatoryNodePropertyConstraintRule, record DynamicRecord, records RecordAccess, engine CheckerEngine<DynamicRecord,ConsistencyReport.SchemaConsistencyReport>) : void in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type contentMap : Map<SchemaRuleContent,DynamicRecord> to seenRulesToRecords : Map<SchemaRule,DynamicRecord> in method private SchemaRecordCheck(ruleAccess SchemaRuleAccess, indexObligations Map<Long,DynamicRecord>, constraintObligations Map<Long,DynamicRecord>, seenRulesToRecords Map<SchemaRule,DynamicRecord>, phase Phase) in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To | |
| Extract Attribute | 1 | ||
| Extract Attribute private DESCRIPTOR : SchemaIndexProvider.Descriptor in class org.neo4j.consistency.checking.full.FullCheckIntegrationTest | From | To | |
| Replace Variable With Attribute | 2 | ||
| Replace Variable With Attribute providerDescriptor : SchemaIndexProvider.Descriptor to DESCRIPTOR : SchemaIndexProvider.Descriptor in method public shouldReportInvalidConstraintBackReferences() : void in class org.neo4j.consistency.checking.full.FullCheckIntegrationTest | From | To | |
| Replace Variable With Attribute providerDescriptor : SchemaIndexProvider.Descriptor to DESCRIPTOR : SchemaIndexProvider.Descriptor in method public shouldReportDuplicateConstraintReferences() : void in class org.neo4j.consistency.checking.full.FullCheckIntegrationTest | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable content : SchemaRuleContent to rule : SchemaRule in method private checkForDuplicates(rule SchemaRule, record DynamicRecord, engine CheckerEngine<DynamicRecord,ConsistencyReport.SchemaConsistencyReport>) : void in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute contentMap : Map<SchemaRuleContent,DynamicRecord> to seenRulesToRecords : Map<SchemaRule,DynamicRecord> in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type content : SchemaRuleContent to rule : SchemaRule in method private checkForDuplicates(rule SchemaRule, record DynamicRecord, engine CheckerEngine<DynamicRecord,ConsistencyReport.SchemaConsistencyReport>) : void in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type contentMap : Map<SchemaRuleContent,DynamicRecord> to seenRulesToRecords : Map<SchemaRule,DynamicRecord> in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To | |
| Extract Method | 2 | ||
| Extract Method private checkForDuplicates(rule SchemaRule, record DynamicRecord, engine CheckerEngine<DynamicRecord,ConsistencyReport.SchemaConsistencyReport>) : void extracted from public check(record DynamicRecord, engine CheckerEngine<DynamicRecord,ConsistencyReport.SchemaConsistencyReport>, records RecordAccess) : void in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To | |
| Extract Method private checkMandatoryRelationshipPropertyRule(rule MandatoryRelationshipPropertyConstraintRule, record DynamicRecord, records RecordAccess, engine CheckerEngine<DynamicRecord,ConsistencyReport.SchemaConsistencyReport>) : void extracted from public check(record DynamicRecord, engine CheckerEngine<DynamicRecord,ConsistencyReport.SchemaConsistencyReport>, records RecordAccess) : void in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter contentMap : Map<SchemaRuleContent,DynamicRecord> to seenRulesToRecords : Map<SchemaRule,DynamicRecord> in method private SchemaRecordCheck(ruleAccess SchemaRuleAccess, indexObligations Map<Long,DynamicRecord>, constraintObligations Map<Long,DynamicRecord>, seenRulesToRecords Map<SchemaRule,DynamicRecord>, phase Phase) in class org.neo4j.consistency.checking.SchemaRecordCheck | From | To |