Stop throwing UnsupportedOperationException in FakeContainerSchemaNode
isPresence() method, since this container is only used for get on /rests/operations
we can assume this container is not a presence container.
JIRA: NETCONF-593
Change-Id: I06692da9d77e4230f32aa19aa25989ab72dd114a
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
@Override
public boolean isPresenceContainer() {
- throw new UnsupportedOperationException("Not supported.");
+ // since this is a special case container used only for operations this is not a presence container.
+ return false;
}
@Override