X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-cli%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fcli%2Freader%2Fcustom%2FEditContentReader.java;h=edf05f1185a58a1de45b9d6e16751cd0e3147c7e;hp=bdd9cd0f49c42ace901325a4201d4674a139c10a;hb=0885acc99dd153f55d07e293b4fbb8aaad10f0d2;hpb=331d878a4ed6b881fd1543c54324fa6a803d29ae diff --git a/opendaylight/netconf/netconf-cli/src/main/java/org/opendaylight/controller/netconf/cli/reader/custom/EditContentReader.java b/opendaylight/netconf/netconf-cli/src/main/java/org/opendaylight/controller/netconf/cli/reader/custom/EditContentReader.java index bdd9cd0f49..edf05f1185 100644 --- a/opendaylight/netconf/netconf-cli/src/main/java/org/opendaylight/controller/netconf/cli/reader/custom/EditContentReader.java +++ b/opendaylight/netconf/netconf-cli/src/main/java/org/opendaylight/controller/netconf/cli/reader/custom/EditContentReader.java @@ -16,7 +16,7 @@ import org.opendaylight.controller.netconf.cli.io.ConsoleIO; import org.opendaylight.controller.netconf.cli.reader.ReadingException; import org.opendaylight.controller.netconf.cli.reader.impl.ChoiceReader; import org.opendaylight.yangtools.yang.common.QName; -import org.opendaylight.yangtools.yang.data.api.Node; +import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode; import org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode; import org.opendaylight.yangtools.yang.model.api.ChoiceSchemaNode; import org.opendaylight.yangtools.yang.model.api.SchemaContext; @@ -33,7 +33,7 @@ public class EditContentReader extends ChoiceReader { } @Override - public List> readWithContext(final ChoiceSchemaNode choiceNode) throws IOException, ReadingException { + public List> readWithContext(final ChoiceSchemaNode choiceNode) throws IOException, ReadingException { Preconditions.checkState(choiceNode.getQName().equals(EDIT_CONTENT_QNAME), "Unexpected choice %s, expected %s", choiceNode, EDIT_CONTENT_QNAME); final ChoiceCaseNode selectedCase = choiceNode.getCaseNodeByName(CONFIG_QNAME); Preconditions.checkNotNull(selectedCase, "Unexpected choice %s, expected %s that contains %s", choiceNode, EDIT_CONTENT_QNAME, CONFIG_QNAME);