Add missing iteration synchronisation 39/72239/1
authorStephen Kitt <skitt@redhat.com>
Thu, 24 May 2018 15:00:20 +0000 (17:00 +0200)
committerStephen Kitt <skitt@redhat.com>
Thu, 24 May 2018 15:00:20 +0000 (17:00 +0200)
commit6b90b61d9bbe46c03409325bd349c4b7883c5aad
tree66404654457c32723c362d32c11132126a68200b
parentf913888c89b58874b1576d6b9d426effbc3b12ee
Add missing iteration synchronisation

Synchronised BiMaps need to have their iterations protected by
explicit synchronisation (see the javadocs); this patch adds a missing
synchronisation in getExistingKey.

Change-Id: I4bea65e06aee26cf2d5e6ebae86f3bedd2dd6fc6
JIRA: OPNFLWPLUG-1013
Signed-off-by: Stephen Kitt <skitt@redhat.com>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/registry/flow/DeviceFlowRegistryImpl.java