Tolerate children not being present 30/99930/4
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 2 Mar 2022 08:15:03 +0000 (09:15 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 2 Mar 2022 12:41:52 +0000 (13:41 +0100)
commit81f38342831f259f93e0d35f3f1ddc6f0e90b91f
tree2a0a5fcd2f42ff9da927fc14c5a17a90b8aeb803
parent9f720af0c1cb38c2fbe48c7be03ace4d00ef2167
Tolerate children not being present

Augment's children are subject to deviations at augment target, hence
we need to check for their presence. Also add some sorely-missing
documentation as to what this class actually does.

JIRA: YANGTOOLS-1404
Change-Id: I98cce6b2a8bff74658a16553f93eb8049dd038b7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
model/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/EffectiveAugmentationSchema.java
model/yang-model-util/src/test/java/org/opendaylight/yangtools/yang/model/util/YT1404Test.java [new file with mode: 0644]
model/yang-model-util/src/test/resources/yt1404/dev.yang [new file with mode: 0644]
model/yang-model-util/src/test/resources/yt1404/foo.yang [new file with mode: 0644]