Optimize QNameModule.equals() a bit 96/68496/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Feb 2018 13:42:48 +0000 (14:42 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 22 Feb 2018 13:42:48 +0000 (14:42 +0100)
commit569293da07956664c608f38bd221205c1d9dfae4
treec36f3204e7032a7ad3f4b67ded34d57868e5d26a
parent666e2563ef3b19a5bf8193837012728c80465368
Optimize QNameModule.equals() a bit

The namespace cannot be null, so we can safely call equals() on it,
skipping checks in Objects.equals().

Change-Id: Ic1b94e2239fb9fd906711c8cbb03dd252a190c49
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/QNameModule.java