095cae4b636917808a0948dbb1ff14d83ed0fc8e
Files Diff
- Added: 5
- Removed: 14
- Renamed: 0
- Modified: 56
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 8 | ||
Pull Up Method public getPropertyValue() : Object from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to public getPropertyValue() : Object from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Method public equals(o Object) : boolean from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to public equals(o Object) : boolean from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Method public toString() : String from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to public toString() : String from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Method public getPropertyValue() : Object from class org.neo4j.kernel.api.index.DuplicateIndexEntryConflictException to public getPropertyValue() : Object from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Method public PreexistingIndexEntryConflictException(propertyValue Object, existingNodeId long, addedNodeId long) from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to public IndexEntryConflictException(existingNodeId long, addedNodeId long, propertyValue Object) from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Method public hashCode() : int from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to public hashCode() : int from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Method public getAddedNodeId() : long from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to public getAddedNodeId() : long from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Method public getExistingNodeId() : long from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to public getExistingNodeId() : long from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Change Parameter Type | 7 | ||
Change Parameter Type descriptor : RelationshipPropertyDescriptor to schema : RelationTypeSchemaDescriptor in method public RelationshipPropertyExistenceException(schema RelationTypeSchemaDescriptor, phase ConstraintValidationException.Phase, relationshipId long) in class org.neo4j.kernel.api.exceptions.schema.RelationshipPropertyExistenceException | From | To | |
Change Parameter Type constraint : PropertyConstraint to constraint : ConstraintDescriptor in method public CreateConstraintFailureException(constraint ConstraintDescriptor, cause Throwable) in class org.neo4j.kernel.api.exceptions.schema.CreateConstraintFailureException | From | To | |
Change Parameter Type constraint : PropertyConstraint to constraint : ConstraintDescriptor in method protected ConstraintValidationException(constraint ConstraintDescriptor, phase Phase, subject String, failure Throwable) in class org.neo4j.kernel.api.exceptions.schema.ConstraintValidationException | From | To | |
Change Parameter Type constraint : UniquenessConstraint to constraint : ConstraintDescriptor in method private awaitConstrainIndexPopulation(constraint ConstraintDescriptor, indexId long) : void in class org.neo4j.kernel.impl.api.state.ConstraintIndexCreator | From | To | |
Change Parameter Type cause : ConstraintVerificationFailedKernelException to cause : ConstraintValidationException in method private userMessage(cause ConstraintValidationException) : String in class org.neo4j.kernel.impl.api.integrationtest.UniquenessConstraintCreationIT | From | To | |
Change Parameter Type it : ConstraintVerificationFailedKernelException to it : ConstraintValidationException in method private createConstraintFailure(it ConstraintValidationException) : CreateConstraintFailureException in class org.neo4j.kernel.impl.enterprise.EnterpriseConstraintSemantics | From | To | |
Change Parameter Type descriptor : NodePropertyDescriptor to schema : LabelSchemaDescriptor in method public NodePropertyExistenceException(schema LabelSchemaDescriptor, phase ConstraintValidationException.Phase, nodeId long) in class org.neo4j.kernel.api.exceptions.schema.NodePropertyExistenceException | From | To | |
Rename Variable | 2 | ||
Rename Variable boundIdentifier : String to relName : String in method public computeSpecific(schema RelationTypeSchemaDescriptor) : String in class org.neo4j.kernel.api.schema_new.constaints.ConstraintDescriptor.ConstraintPrettyPrinter | From | To | |
Rename Variable boundIdentifier : String to nodeName : String in method public computeSpecific(schema LabelSchemaDescriptor) : String in class org.neo4j.kernel.api.schema_new.constaints.ConstraintDescriptor.ConstraintPrettyPrinter | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private existingNodeId : long from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to private existingNodeId : long from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Attribute private addedNodeId : long from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to private addedNodeId : long from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Pull Up Attribute private propertyValue : Object from class org.neo4j.kernel.api.index.PreexistingIndexEntryConflictException to private propertyValue : Object from class org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException | From | To | |
Change Return Type | 1 | ||
Change Return Type PropertyConstraint to ConstraintDescriptor in method public constraint() : ConstraintDescriptor in class org.neo4j.kernel.api.exceptions.schema.CreateConstraintFailureException | From | To | |
Rename Class | 3 | ||
Rename Class org.neo4j.kernel.api.exceptions.schema.ConstraintVerificationFailedKernelException renamed to org.neo4j.kernel.api.exceptions.schema.ConstraintValidationException | From | To | |
Rename Class org.neo4j.kernel.api.exceptions.schema.RelationshipPropertyExistenceConstraintViolationKernelException renamed to org.neo4j.kernel.api.exceptions.schema.RelationshipPropertyExistenceException | From | To | |
Rename Class org.neo4j.kernel.api.exceptions.schema.NodePropertyExistenceConstraintViolationKernelException renamed to org.neo4j.kernel.api.exceptions.schema.NodePropertyExistenceException | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.neo4j.kernel.api.exceptions.schema.ConstraintValidationException from classes [org.neo4j.kernel.api.exceptions.schema.NodePropertyExistenceException, org.neo4j.kernel.api.exceptions.schema.RelationshipPropertyExistenceException] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute descriptor : NodePropertyDescriptor to schema : LabelSchemaDescriptor in class org.neo4j.kernel.api.exceptions.schema.NodePropertyExistenceException | From | To | |
Rename Attribute descriptor : RelationshipPropertyDescriptor to schema : RelationTypeSchemaDescriptor in class org.neo4j.kernel.api.exceptions.schema.RelationshipPropertyExistenceException | From | To | |
Extract Variable | 1 | ||
Extract Variable constraint : ConstraintDescriptor in method public shouldValidateUniquenessIndexes() : void from class org.neo4j.kernel.impl.transaction.state.IntegrityValidatorTest | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type constraint : PropertyConstraint to constraint : ConstraintDescriptor in class org.neo4j.kernel.api.exceptions.schema.CreateConstraintFailureException | From | To | |
Change Attribute Type descriptor : RelationshipPropertyDescriptor to schema : RelationTypeSchemaDescriptor in class org.neo4j.kernel.api.exceptions.schema.RelationshipPropertyExistenceException | From | To | |
Change Attribute Type descriptor : NodePropertyDescriptor to schema : LabelSchemaDescriptor in class org.neo4j.kernel.api.exceptions.schema.NodePropertyExistenceException | From | To | |
Rename Parameter | 2 | ||
Rename Parameter descriptor : NodePropertyDescriptor to schema : LabelSchemaDescriptor in method public NodePropertyExistenceException(schema LabelSchemaDescriptor, phase ConstraintValidationException.Phase, nodeId long) in class org.neo4j.kernel.api.exceptions.schema.NodePropertyExistenceException | From | To | |
Rename Parameter descriptor : RelationshipPropertyDescriptor to schema : RelationTypeSchemaDescriptor in method public RelationshipPropertyExistenceException(schema RelationTypeSchemaDescriptor, phase ConstraintValidationException.Phase, relationshipId long) in class org.neo4j.kernel.api.exceptions.schema.RelationshipPropertyExistenceException | From | To |