BUG 8301: Convert queue to a local variable 56/56456/3
authorTomas Cere <tcere@cisco.com>
Wed, 3 May 2017 11:12:31 +0000 (13:12 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 3 May 2017 16:30:02 +0000 (16:30 +0000)
commitfe859b1ad7534696969fe5eafaa33ced566d5e0c
treee30c6867972c2b920356bea75549dc874f55c26b
parent1635f00212f8a583c6160cc3ff153e2c62af5092
BUG 8301: Convert queue to a local variable

There's a possibility that this might race and an
actor can have it's queue overwritten by another thread, so convert
this to a local variable.

Change-Id: Ic84922c6d109d8361a48debbf971fddd9cee1d3e
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteredBoundedMailbox.java