BUG-994: do not use SchemaPath.getPath() 33/8333/3
authorRobert Varga <rovarga@cisco.com>
Wed, 25 Jun 2014 11:20:19 +0000 (13:20 +0200)
committerRobert Varga <rovarga@cisco.com>
Wed, 25 Jun 2014 16:17:47 +0000 (18:17 +0200)
commitf7acf1803fd9be91816392348949e3ee851462ec
tree59f861f968c23e29d9af65cb16815123709cc6b0
parent0f295bf870e15ce7e640ce2dcedbddc73dc852ab
BUG-994: do not use SchemaPath.getPath()

SchemaContextUtil used getPath() to construct parent from the path --
use getParent() instead. Furthermore convert uses where it is only used
as Iterable into getPathFromRoot().

Change-Id: I455e9e297c4ed6a7f861bb6cc9b6e4ece2bd8337
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtil.java