Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miwurster committed Nov 14, 2019
1 parent fd6116c commit 2a6f3aa
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -484,11 +484,11 @@ private Definitions getRequestedDefinition(DefinitionsChildId id, Definitions de
}
}
// we did not find the artifact template id (this should not happen!)
LOGGER.error("requested artifact template id (" + id.toReadableString() +") cannot be extracted from definitions object!");
LOGGER.error("requested artifact template id (" + id.toReadableString() + ") cannot be extracted from definitions object!");
return definitions;
} else {
Definitions.Builder requestedDefinitions = getEmptyDefinition(definitions);

if (id instanceof NodeTypeId) {
requestedDefinitions.addNodeTypes(definitions.getNodeTypes());
} else if (id instanceof RelationshipTypeId) {
Expand All @@ -509,7 +509,7 @@ private Definitions getRequestedDefinition(DefinitionsChildId id, Definitions de
// we do not need to filter anything
return definitions;
}

return requestedDefinitions.build();
}
}
Expand All @@ -526,7 +526,7 @@ private Definitions.Builder getEmptyDefinition(Definitions definitions) {
}

/**
* Checks if artifact tempaltes exists in type
* Checks if artifact templates exists in type
*
* @param targetPath target path of requested type
* @param qName target QName
Expand Down

0 comments on commit 2a6f3aa

Please sign in to comment.