Defer path stripping 39/86639/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 30 Dec 2019 11:29:31 +0000 (12:29 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 30 Dec 2019 21:18:16 +0000 (22:18 +0100)
commit039c7336bcd40557576c3d95acc66f13812fc54b
tree93a765662aea981899b2b265e3c4dd68ed1d9a97
parente4300308c4adc507847508b24f69f38cd65c934f
Defer path stripping

If we are passed a relative path, we end up first stripping it
and then realizing it's relative. Invert the order, making absolute
proper invariant.

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