Use YangInstanceIdentifier.isEmpty() 26/22726/3
authorRobert Varga <rovarga@cisco.com>
Tue, 16 Jun 2015 19:52:14 +0000 (21:52 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 17 Jun 2015 07:57:37 +0000 (07:57 +0000)
commitd620bc2f6bdb883d1f91a42c93a4ce109725b287
tree5405afe375c056c1e96b1b38557949c92a98f2df
parentfc48504605170d4d37346738602de388daa36f25
Use YangInstanceIdentifier.isEmpty()

Do not force instatiation of path arguments, emptiness can be checked
quickly using isEmpty() method.

Change-Id: I52f70309c5eb839a9532e499e681562fc4b95587
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/util/NetconfBaseOps.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.