Fix DataTree indexing 83/96383/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 27 May 2021 22:34:47 +0000 (00:34 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 28 May 2021 08:16:30 +0000 (10:16 +0200)
commit112e71e50c0f2bdff0f4aaec40d080f911db7091
tree5bd6a85fa8f784f3095ff8f72b9c5c0dc048d88b
parent0c193bc366fe40778b29f57be52d846de5db9057
Fix DataTree indexing

Our indexing is broken here, as if we have a schema tree statement
which is not propagated to data tree, we should be indicating a
difference in maps. Fix that up.

JIRA: YANGTOOLS-1292
Change-Id: I19d80a11ef7114b0908766fa19df51604ca83f2e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
model/yang-model-spi/src/main/java/org/opendaylight/yangtools/yang/model/spi/meta/AbstractEffectiveStatement.java
model/yang-model-util/src/test/java/org/opendaylight/yangtools/yang/model/util/YT1292Test.java [new file with mode: 0644]
model/yang-model-util/src/test/resources/yt1292.yang [new file with mode: 0644]