BUG-994: optimize resolveRelativeXPath() 36/8336/4
authorRobert Varga <rovarga@cisco.com>
Wed, 25 Jun 2014 13:41:12 +0000 (15:41 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 26 Jun 2014 09:46:40 +0000 (11:46 +0200)
commita60720a062d9364e9d5bb0576df06203fc0a68a6
tree0e2ba18eab8b18420dee6b72659b572798c5a439
parent6e4972c723b7d41915e125ddb98d2496a61c2f51
BUG-994: optimize resolveRelativeXPath()

This patch is a slight optimization of the method which takes advantage
of the fact that we do not need to return a List anymore.

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