Eclipse spotted a potential shortcut in expression, make sure we
take it.
Change-Id: Ief68daa77ac98de3698b9df0627061353055434f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
public SchemaNode startContainerNode(final NodeIdentifier name) {
LOG.debug("Enter container {}", name);
final SchemaNode schema = getSchema(name);
- final boolean isAllowed = schema instanceof ContainerLike | schema instanceof NotificationDefinition;
+ final boolean isAllowed = schema instanceof ContainerLike || schema instanceof NotificationDefinition;
checkArgument(isAllowed, "Node %s is not a container nor a notification", schema);
schemaStack.push(schema);