Registry instance cannot be null in RpcProxyRegistration
authorRobert Varga <rovarga@cisco.com>
Sun, 14 Dec 2014 17:21:25 +0000 (18:21 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Mon, 15 Dec 2014 09:18:20 +0000 (09:18 +0000)
commitf786dbad3ef88f9901bc841d4869541f575a3d87
tree551ff036a41fd2df58dafecfbd0a75ccf2f76e81
parentd51e96ae646a86cd7e414c9584149f3a96381e54
Registry instance cannot be null in RpcProxyRegistration

removeRegistration() is guaranteed to be invoked at most once, and
registry cannot be null. Make it final and remove the safety check.

Change-Id: Ie8f2da7430c076d0bec71eb8b58a4adc2af25adf
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/RpcProviderRegistryImpl.java