Skip to content

Commit

Permalink
PrismUnmarshaller: fixed typo "Cannot parse obect" -> object
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Mar 11, 2020
1 parent 3e6b2c9 commit 4e5d4a7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -131,7 +131,7 @@ <O extends Objectable> PrismObject<O> parseObject(@NotNull RootXNodeImpl root, I
checkArgument(child instanceof MapXNodeImpl,
"Cannot parse object from element %s, we need Map", child.getClass());
ItemDefinition<?> itemDef = checkSchemaNotNull(itemInfo.getItemDefinition(),
"Cannot parse obect from element %s, there is no definition for that element", itemInfo.getItemName());
"Cannot parse object from element %s, there is no definition for that element", itemInfo.getItemName());
checkSchema(itemDef instanceof PrismObjectDefinition,
"Cannot parse object from element %s the element does not define an object, it is defined as %s", itemInfo.getItemName(), itemInfo.getItemDefinition());
return (PrismObject<O>) parseItemInternal(child, itemInfo.getItemName(), itemDef, pc);
Expand Down

0 comments on commit 4e5d4a7

Please sign in to comment.