Deprecate EffectiveAugmentationSchema 72/106572/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 21 Jun 2023 01:16:25 +0000 (03:16 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 21 Jun 2023 01:16:43 +0000 (03:16 +0200)
With AugmentatioNode gone from yang-data-api, we do not interact with
effective children anymore. Deprecate EffectiveAugmentationSchema for
removal.

JIRA: YANGTOOLS-1403
Change-Id: Iaca0f5e119d66f654361c6b08b01839626667d29
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
model/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/EffectiveAugmentationSchema.java

index 8da591350d79e5aa24fe55ada56404ccb60bf9ed..8eeaced131dfc91eebd6ca0f05d990f4c09236cb 100644 (file)
@@ -48,8 +48,10 @@ import org.opendaylight.yangtools.yang.xpath.api.YangXPathExpression.QualifiedBo
  *
  * <p>
  * Note this class only handles {@link DataSchemaNode}s, not all {@code schema tree} statements, as it strictly should.
+ *
+ * @deprecated This class should not be needed anymore.
  */
-// FIXME: YANGTOOLS-1403: this functionality should be integrated into EffectiveAugmentStatement/AugmentationSchemaNode
+@Deprecated(since = "11.0.0", forRemoval = true)
 public final class EffectiveAugmentationSchema implements AugmentationSchemaNode {
     private final ImmutableMap<QName, DataSchemaNode> children;
     private final AugmentationSchemaNode delegate;