Push out uses/refine integration FIXMEs out 13/92913/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 6 Oct 2020 07:05:38 +0000 (09:05 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 6 Oct 2020 07:11:11 +0000 (09:11 +0200)
We do not have the time to address the indirection here, push it out
to the next release.

Change-Id: Ic60a4a30991aae29327d30ac96d1801a6e127cff
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/UsesNode.java
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/refine/RefineEffectiveStatementImpl.java

index a24577062309ae15e2794f04b8cd4142eeb0157d..dfae30b02cc09a2d6d4b84b069e6a991386200ea 100644 (file)
@@ -38,6 +38,6 @@ public interface UsesNode extends WhenConditionAware, WithStatus, CopyableNode,
      *
      * @return Map, where key is schema node identifier of refined node and value is refined node.
      */
-    // FIXME: I am not sure I understand why do we need to track these, who are the actual users?
+    // FIXME: 7.0.0: expose only refined paths and let users deal with locating them
     @NonNull Map<Descendant, SchemaNode> getRefines();
 }
index 430c6df1e2f30ecea95d1d3473e09800e8e5da84..476fef2d6d323c486cf7cb2f76d01cb5453fc880 100644 (file)
@@ -25,7 +25,7 @@ import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffec
 import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementMixins.DocumentedNodeMixin;
 
 // FIXME: 7.0.0: hide this class
-// FIXME: 6.0.0: do not implement SchemaNode
+// FIXME: 7.0.0: do not implement SchemaNode
 public final class RefineEffectiveStatementImpl extends WithSubstatements<Descendant, RefineStatement>
         implements RefineEffectiveStatement, SchemaNode, DocumentedNodeMixin<Descendant, RefineStatement> {
     private final @NonNull SchemaPath path;