Support testing null against null in equalsHelper() 99/46599/4
authorStephen Kitt <skitt@redhat.com>
Thu, 6 Oct 2016 08:13:58 +0000 (10:13 +0200)
committerStephen Kitt <skitt@redhat.com>
Fri, 7 Oct 2016 07:56:48 +0000 (09:56 +0200)
commitfb0d04ff93229b649dade3ae231d86afb8e0f25e
treef2ccf191c14c2487c5857df0769bd84912cbd546
parent5703e5181092b44e8565fa318d1318c3d6a9295f
Support testing null against null in equalsHelper()

In its intended context, equalsHelper() should never be called with
two null parameters, but it's easy to support the general case — and
because this isn't SQL, null equals itself.

Change-Id: I826435e81a4dd59aaac72ad9ab07a80069f7a17f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
common/util/src/main/java/org/opendaylight/yangtools/util/EvenMoreObjects.java
common/util/src/test/java/org/opendaylight/yangtools/util/EvenMoreObjectsTest.java