X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frest%2Fimpl%2FXmlToCompositeNodeReader.java;h=413823f52081ebb235cc33db3530e2bdbbf7c149;hp=7d0690cdc27e0a6754a354f187b88317e558720f;hb=c222e37f2a0f0f3f6266242fbea2d3b018f4e6e3;hpb=c1362c86eb19e92e6c64d10099a45deb499c6db1 diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/XmlToCompositeNodeReader.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/XmlToCompositeNodeReader.java index 7d0690cdc2..413823f520 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/XmlToCompositeNodeReader.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/XmlToCompositeNodeReader.java @@ -36,8 +36,7 @@ public class XmlToCompositeNodeReader { public CompositeNodeWrapper read(InputStream entityStream) throws XMLStreamException, UnsupportedFormatException, IOException { // Get an XML stream which can be marked, and reset, so we can check and - // see if there is - // any content being provided. + // see if there is any content being provided. entityStream = getMarkableStream(entityStream); if (isInputStreamEmpty(entityStream)) { @@ -103,9 +102,8 @@ public class XmlToCompositeNodeReader { } /** - * If the input stream is not markable, then it wraps the input stream with - * a buffered stream, which is mark able. That way we can check if the - * stream is empty safely. + * If the input stream is not markable, then it wraps the input stream with a buffered stream, which is mark able. + * That way we can check if the stream is empty safely. * * @param entityStream * @return