Do not compare path to YangInstanceIdentifier.EMPTY 37/82337/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 30 May 2019 14:06:08 +0000 (16:06 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 30 May 2019 14:07:00 +0000 (16:07 +0200)
commitdc05c45e592b195e4286f6ef69d84b8f6409993e
treece0028092aebc8f9aa9a58ac5ded9c25d7e6fc60
parent3392af44f061e24dd352eb6cb57da5ab65fefa6e
Do not compare path to YangInstanceIdentifier.EMPTY

YangInstanceIdentifier has a highly efficient isEmpty() method,
use that instead of .equals(EMPTY).

Change-Id: I755560f3cbb204015a2469b6995691cb1f5d1b83
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/util/SchemalessRpcStructureTransformer.java