From: Robert Varga Date: Fri, 12 Jan 2024 20:07:11 +0000 (+0100) Subject: Deprecate BindingCodecTreeNode.getSchema() X-Git-Tag: v13.0.0~36 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=commitdiff_plain;h=6f18d2e4a441389e5f80c4d03441d1a0b193ec7b Deprecate BindingCodecTreeNode.getSchema() 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 --- diff --git a/binding/mdsal-binding-dom-codec-api/src/main/java/org/opendaylight/mdsal/binding/dom/codec/api/BindingCodecTreeNode.java b/binding/mdsal-binding-dom-codec-api/src/main/java/org/opendaylight/mdsal/binding/dom/codec/api/BindingCodecTreeNode.java index 85dd637415..5eb94c23f7 100644 --- a/binding/mdsal-binding-dom-codec-api/src/main/java/org/opendaylight/mdsal/binding/dom/codec/api/BindingCodecTreeNode.java +++ b/binding/mdsal-binding-dom-codec-api/src/main/java/org/opendaylight/mdsal/binding/dom/codec/api/BindingCodecTreeNode.java @@ -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(); }