From 6f18d2e4a441389e5f80c4d03441d1a0b193ec7b Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Fri, 12 Jan 2024 21:07:11 +0100 Subject: [PATCH] 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 --- .../mdsal/binding/dom/codec/api/BindingCodecTreeNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.36.6