Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fickludd committed Mar 9, 2017
1 parent 1782aeb commit 3f9213d
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -104,7 +104,7 @@ public ConstraintEnforcingEntityOperations(
this.entityReadOperations = entityReadOperations;
this.schemaWriteOperations = schemaWriteOperations;
this.schemaReadOperations = schemaReadOperations;
nodeSchemaMatcher = new NodeSchemaMatcher( entityReadOperations );
nodeSchemaMatcher = new NodeSchemaMatcher<>( entityReadOperations );
}

@Override
Expand Down Expand Up @@ -141,10 +141,10 @@ public Property nodeSetProperty( KernelStatement state, long nodeId, DefinedProp
{
NodeItem node = cursor.get();
Iterator<ConstraintDescriptor> constraints = getConstraintsForProperty( state, property.propertyKeyId() );
Iterator<UniquenessConstraintDescriptor> uniqueness =
Iterator<UniquenessConstraintDescriptor> uniquenessConstraints =
new CastingIterator<>( constraints, UniquenessConstraintDescriptor.class );

nodeSchemaMatcher.onMatchingSchema( state, uniqueness, node, property.propertyKeyId(),
nodeSchemaMatcher.onMatchingSchema( state, uniquenessConstraints, node, property.propertyKeyId(),
constraint -> {
validateNoExistingNodeWithExactValues( state, constraint,
getAllPropertyValues( state, constraint.schema(), node, property ),
Expand Down

0 comments on commit 3f9213d

Please sign in to comment.