Use YangInstanceIdentifier.isEmpty() 62/22762/2
authorRobert Varga <rovarga@cisco.com>
Tue, 16 Jun 2015 19:52:14 +0000 (21:52 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 1 Jul 2015 14:39:34 +0000 (14:39 +0000)
commit308b41963b2964a4e1faa882bce26bee2d86b810
tree327f8271694fc7667ece99db4203d11e0f666bcb
parent32df6743de98a9958e4ef4528e0e042679ac517c
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>
(cherry picked from commit d620bc2f6bdb883d1f91a42c93a4ce109725b287)
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/util/NetconfBaseOps.java