Remove XmlParserStream.create(NormalizedNodeStreamWriter, SchemaContext) 35/65035/5
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Nov 2017 09:34:19 +0000 (10:34 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 3 Nov 2017 15:46:02 +0000 (16:46 +0100)
This method has been deprecated in favor of the three-argument variant,
which is more powerful. Remove it.

Change-Id: I0416c2931a77cb9bec74de4ad2f02f339a51b4ac
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-codec-xml/src/main/java/org/opendaylight/yangtools/yang/data/codec/xml/XmlParserStream.java

index effb9c7056c4efaa2e6fcd6212ca6e9d37a027d6..42ce2eaceb6202f613cc675857b94e6a6fa70e14 100644 (file)
@@ -121,16 +121,6 @@ public final class XmlParserStream implements Closeable, Flushable {
         return new XmlParserStream(writer, codecs, (DataSchemaNode) parentNode, strictParsing);
     }
 
-    /**
-     * Construct a new {@link XmlParserStream}.
-     *
-     * @deprecated Use {@link #create(NormalizedNodeStreamWriter, SchemaContext, SchemaNode)} instead.
-     */
-    @Deprecated
-    public static XmlParserStream create(final NormalizedNodeStreamWriter writer, final SchemaContext schemaContext) {
-        return create(writer, schemaContext, schemaContext);
-    }
-
     /**
      * Utility method for use when caching {@link XmlCodecFactory} is not feasible. Users with high performance
      * requirements should use {@link #create(NormalizedNodeStreamWriter, XmlCodecFactory, SchemaNode)} instead and