Move LeafRefPath creation from fast path 72/75772/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Sep 2018 18:15:00 +0000 (20:15 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Sep 2018 18:41:55 +0000 (20:41 +0200)
commit4b7393b11151722f44c19236684c661cf5f8edd0
tree291c6a91671a78cefae2025113543937556357ce
parent23b7ff7e2e39e0d520e249ae5b256746acef5abd
Move LeafRefPath creation from fast path

LeafRefValidation is the fast path and LeafRefPath we are creating
is in an invariant. Cache it in LeafRefContext as needed.

JIRA: YANGTOOLS-892
Change-Id: I40ef136630b7cdacca84b2f08a9e0491daa03c14
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefContext.java
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefValidatation.java