Use findTargetNode() in findDataSchemaNode() 13/86613/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 29 Dec 2019 08:47:18 +0000 (09:47 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 29 Dec 2019 09:30:27 +0000 (10:30 +0100)
commite589a0e0c26a7b5adadde2cc82cfb1a6a063d73b
treec4d24d28e537a81b4e26305b1806c0f45d34ff54
parent27e379b2b16e8ea3149dfde2c4226fd0a883592f
Use findTargetNode() in findDataSchemaNode()

This removes a bit of duplication by sharing the code path with
relative resolver.

Change-Id: Icb619aca8d87ade490066fd8c6abe0d2a96dec96
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 57a7f87c3115454aba47299d797da48a1227c9b2)
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtil.java