Registry instance cannot be null in RpcProxyRegistration 31/13631/2
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)
commit858a0b24590e30ebb8f2f788bc3580ee64bab991
treed64758e19f0b22e96ada1b289ebd1e300d9132b0
parent54629feeca8fcad502cc8b2e8800b51f9b341315
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