X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-bierman02%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fsal%2Frestconf%2Fimpl%2FFakeRestconfModule.java;h=e4b8bb4cee5e2e1536faf2a236e3eabf50aa6abf;hb=b8f5ebd2f817de1d613d84cf41f3516728767eba;hp=fcd4d653369e19ba677b557966354368dec61a5e;hpb=45cfee1861924b4a8086d38079ce8cbd320386d6;p=netconf.git diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/FakeRestconfModule.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/FakeRestconfModule.java index fcd4d65336..e4b8bb4cee 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/FakeRestconfModule.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/FakeRestconfModule.java @@ -118,7 +118,7 @@ final class FakeRestconfModule implements Module { @Override public YangVersion getYangVersion() { - throw new UnsupportedOperationException("Not supported operations."); + return YangVersion.VERSION_1_1; } @Override @@ -153,42 +153,42 @@ final class FakeRestconfModule implements Module { @Override public Set getFeatures() { - throw new UnsupportedOperationException("Not supported operations."); + return ImmutableSet.of(); } @Override public Set getNotifications() { - throw new UnsupportedOperationException("Not supported operations."); + return ImmutableSet.of(); } @Override public Set getAugmentations() { - throw new UnsupportedOperationException("Not supported operations."); + return ImmutableSet.of(); } @Override public Set getRpcs() { - throw new UnsupportedOperationException("Not supported operations."); + return ImmutableSet.of(); } @Override public Set getDeviations() { - throw new UnsupportedOperationException("Not supported operations."); + return ImmutableSet.of(); } @Override public Set getIdentities() { - throw new UnsupportedOperationException("Not supported operations."); + return ImmutableSet.of(); } @Override public List getExtensionSchemaNodes() { - throw new UnsupportedOperationException("Not supported operations."); + return ImmutableList.of(); } @Override public List getUnknownSchemaNodes() { - throw new UnsupportedOperationException("Not supported operations."); + return ImmutableList.of(); } @Override