Simplify ParserIdentifier 23/83323/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 30 Jul 2019 23:18:47 +0000 (01:18 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 31 Jul 2019 00:45:18 +0000 (02:45 +0200)
commitc2aa40ecd0be8a8b9aab320d2e2c7385fb7f6018
tree2ba7df38527c8c2cf97ece8a6296ad237ab86e9d
parent1cb605eab5be592a977d371a250dc36f5953582b
Simplify ParserIdentifier

There is no point to allocate the context while finding the schema
node. Refactor the code a bit, reducing the need to pass (and ignore)
mount point.

Change-Id: Ic8832c81c4fcc34445d4ed47df5a45e6a9ba430f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/ParserIdentifier.java