Remove obsolete DataTreeCandidateNode methods 25/106225/4
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 29 May 2023 08:46:28 +0000 (10:46 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 5 Oct 2023 14:58:12 +0000 (16:58 +0200)
These methods have been deprecated for removal, remove them now.

Change-Id: I7e27d15fa2ab9a239fd2d4c9de0f81251a11eac0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-tree-api/src/main/java/org/opendaylight/yangtools/yang/data/tree/api/DataTreeCandidateNode.java

index 71e514277452347a2c4e602f463c9353ed33b226..adac1c34610a95a5acd09a1e93b9a7528d81eb64 100644 (file)
@@ -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<DataTreeCandidateNode> 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<DataTreeCandidateNode> 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.
      *