From 814ee2f4b27e4bb4bc77dda7a3804458bf874dee Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 29 May 2023 10:46:28 +0200 Subject: [PATCH] Remove obsolete DataTreeCandidateNode methods These methods have been deprecated for removal, remove them now. Change-Id: I7e27d15fa2ab9a239fd2d4c9de0f81251a11eac0 Signed-off-by: Robert Varga --- .../data/tree/api/DataTreeCandidateNode.java | 37 ------------------- 1 file changed, 37 deletions(-) diff --git a/data/yang-data-tree-api/src/main/java/org/opendaylight/yangtools/yang/data/tree/api/DataTreeCandidateNode.java b/data/yang-data-tree-api/src/main/java/org/opendaylight/yangtools/yang/data/tree/api/DataTreeCandidateNode.java index 71e5142774..adac1c3461 100644 --- a/data/yang-data-tree-api/src/main/java/org/opendaylight/yangtools/yang/data/tree/api/DataTreeCandidateNode.java +++ b/data/yang-data-tree-api/src/main/java/org/opendaylight/yangtools/yang/data/tree/api/DataTreeCandidateNode.java @@ -30,18 +30,6 @@ public interface DataTreeCandidateNode { */ @NonNull PathArgument name(); - /** - * Get the node identifier. - * - * @implSpec Default implementation defers to {@link #name()}. - * @return The node identifier. - * @deprecated Use {@link #name()} instead. - */ - @Deprecated(since = "11.0.0", forRemoval = true) - default @NonNull PathArgument getIdentifier() { - return name(); - } - /** * Get an unmodifiable collection of modified child nodes. Note that the collection may include * {@link ModificationType#UNMODIFIED} nodes, which the caller is expected to handle as if they were not present. @@ -50,19 +38,6 @@ public interface DataTreeCandidateNode { */ @NonNull Collection childNodes(); - /** - * Get an unmodifiable collection of modified child nodes. Note that the collection may include - * {@link ModificationType#UNMODIFIED} nodes, which the caller is expected to handle as if they were not present. - * - * @implSpec Default implementation defers to {@link #childNodes()}. - * @return Unmodifiable collection of modified child nodes. - * @deprecated Use {@link #childNodes()} instead. - */ - @Deprecated(since = "11.0.0", forRemoval = true) - default @NonNull Collection getChildNodes() { - return childNodes(); - } - /** * Returns modified child or empty. Note that this method may return an {@link ModificationType#UNMODIFIED} node * when there is evidence of the node or its parent being involved in modification which has turned out not to @@ -111,18 +86,6 @@ public interface DataTreeCandidateNode { */ @NonNull ModificationType modificationType(); - /** - * Return the type of modification this node is undergoing. - * - * @implSpec Default implementation defers to {@link #modificationType()}. - * @return Node modification type. - * @deprecated Use {@link #modificationType()} instead. - */ - @Deprecated(since = "11.0.0", forRemoval = true) - default @NonNull ModificationType getModificationType() { - return modificationType(); - } - /** * Return the before-image of data corresponding to the node. * -- 2.36.6