Deprecate BindingCodecTreeNode.getSchema() 58/109758/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 12 Jan 2024 20:07:11 +0000 (21:07 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 12 Jan 2024 20:07:11 +0000 (21:07 +0100)
The BindingCodecTreeNode hierarchy should be expressive enough so that
users do not need the underlying schema. Deprecate getSchema() for
removal.

Change-Id: I58c18075ce78b11db2a922f5de4d4859c256bd35
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec-api/src/main/java/org/opendaylight/mdsal/binding/dom/codec/api/BindingCodecTreeNode.java

index 85dd637415fff8c4b452573825afc29270a7e999..5eb94c23f7dd7aa01555575e64c10ac30bee5b3a 100644 (file)
@@ -21,6 +21,6 @@ public interface BindingCodecTreeNode {
      *
      * @return A schema node.
      */
-    // FIXME: 12.0.0: we should be able to do better
+    @Deprecated(since = "13.0.0", forRemoval = true)
     @NonNull WithStatus getSchema();
 }