From cf004535a88be1b4b28ed50e0901e6d52f3a2101 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Fri, 11 Feb 2022 17:01:33 +0100 Subject: [PATCH] Push out NormalizedNodeContainer.body() specializations We do not have the prerequisites needed to specialize body() specification, push the FIXMEs out to the next release. Change-Id: I47ac366215ec6ae72bb6d15039d302b93913c658 Signed-off-by: Robert Varga --- .../yangtools/yang/data/api/schema/OrderedNodeContainer.java | 2 +- .../yangtools/yang/data/api/schema/SystemLeafSetNode.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/OrderedNodeContainer.java b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/OrderedNodeContainer.java index a066b7cf9a..ff177cb71b 100644 --- a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/OrderedNodeContainer.java +++ b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/OrderedNodeContainer.java @@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdent * * @param child type */ -// FIXME: 8.0.0: we really want to do a List<@NonNull V> body(), but need to reconcile that with key-based lookup in +// FIXME: 9.0.0: we really want to do a List<@NonNull V> body(), but need to reconcile that with key-based lookup in // implementations -- and those are using only a Map internally. public interface OrderedNodeContainer extends NormalizedNodeContainer, MixinNode, OrderingAware.User { diff --git a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/SystemLeafSetNode.java b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/SystemLeafSetNode.java index 9034864b1b..431bd590fa 100644 --- a/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/SystemLeafSetNode.java +++ b/data/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/SystemLeafSetNode.java @@ -14,6 +14,8 @@ package org.opendaylight.yangtools.yang.data.api.schema; * * @param Value type of Leaf entries */ +// // FIXME: 9.0.0: we really want to do a Set<@NonNull V> body(), but need to reconcile that with key-based lookup in +// implementations -- and those are using only a Map internally. public interface SystemLeafSetNode extends LeafSetNode, OrderingAware.System { @Override @SuppressWarnings("rawtypes") -- 2.36.6