BUG-7698: do not allow nulls in registrations 52/51152/5
authorRobert Varga <rovarga@cisco.com>
Fri, 27 Jan 2017 20:05:19 +0000 (21:05 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 11 Apr 2017 17:09:33 +0000 (17:09 +0000)
commitf7b206568c973e7d6ca53a54d50d2fa297d1f4cd
tree599d64affe60253cc1921f0c6741d0410208d649
parentd3ca71a8df0fb128a3f63a23dc2f691a82b0eed0
BUG-7698: do not allow nulls in registrations

This updates the AbstractObjectRegistration to not allow
nulls and updates ObjectRegistration to promise it will
not return a null from getInstance().

Change-Id: I10229d58af4a9f26f2f18128302b45bc721e546f
Signed-off-by: Robert Varga <rovarga@cisco.com>
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/AbstractListenerRegistration.java
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/AbstractObjectRegistration.java
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/ObjectRegistration.java