X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-bierman02%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fsal%2Frest%2Fimpl%2FXmlToPatchBodyReader.java;h=f90a6bf2b64d19292618122c97554da2cf00666b;hb=9cc114dc8e4109893e2346477b5ae14391afe01c;hp=3e6ea0520e1c0e0a9dce0046fc2930e091e9d68b;hpb=cd6157a02dc35ccdc37a3929cfc891e99d1bf29b;p=netconf.git diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/XmlToPatchBodyReader.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/XmlToPatchBodyReader.java index 3e6ea0520e..f90a6bf2b6 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/XmlToPatchBodyReader.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/XmlToPatchBodyReader.java @@ -101,7 +101,7 @@ public class XmlToPatchBodyReader extends AbstractIdentifierAwareJaxRsProvider i throws WebApplicationException { try { - final InstanceIdentifierContext path = getInstanceIdentifierContext(); + final InstanceIdentifierContext path = getInstanceIdentifierContext(); final Optional nonEmptyInputStreamOptional = RestUtil.isInputStreamEmpty(entityStream); if (nonEmptyInputStreamOptional.isEmpty()) { // represent empty nopayload input @@ -120,7 +120,7 @@ public class XmlToPatchBodyReader extends AbstractIdentifierAwareJaxRsProvider i } } - private static PatchContext parse(final InstanceIdentifierContext pathContext, final Document doc) + private static PatchContext parse(final InstanceIdentifierContext pathContext, final Document doc) throws XMLStreamException, IOException, ParserConfigurationException, SAXException, URISyntaxException { final List resultCollection = new ArrayList<>(); final String patchId = doc.getElementsByTagName("patch-id").item(0).getFirstChild().getNodeValue();