Remove SchemaTracker.create(SchemaContext) 07/80607/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Feb 2019 11:49:11 +0000 (12:49 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Feb 2019 11:49:11 +0000 (12:49 +0100)
This method is superfluous, as it is a special case of
SchemaTracker.create(DataNodeContainer). Remove it.

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

index 7a9bd4c9065221bdc8d452a0f0863be27b3fa023..3609c24367af71fc3df4013b2218e0b187774693 100644 (file)
@@ -59,17 +59,6 @@ public final class SchemaTracker {
         this.root = requireNonNull(root);
     }
 
-    /**
-     * Create a new writer with the specified context as its root.
-     *
-     * @param context Associated {@link SchemaContext}.
-     * @return A new {@link NormalizedNodeStreamWriter}
-     */
-    // FIXME: 3.0.0: remove this method
-    public static @NonNull SchemaTracker create(final SchemaContext context) {
-        return new SchemaTracker(context);
-    }
-
     /**
      * Create a new writer with the specified node as its root.
      *