Fix FindBugs warning around locking 32/50632/2
authorRobert Varga <rovarga@cisco.com>
Wed, 18 Jan 2017 17:12:57 +0000 (18:12 +0100)
committerTom Pantelis <tpanteli@brocade.com>
Sat, 21 Jan 2017 17:54:14 +0000 (17:54 +0000)
commit69228db0423bedd1d18b374c0f357762fa8021b2
tree9a39694120722830cbf86f80d1b32d01c6acce86
parent1071bff328641dadd4e44d8c0571a069f8747da0
Fix FindBugs warning around locking

Correct use of locks is to use a try/finally block, so correct
the usage to shut FB up.

Change-Id: I8e42425a9566f506682a8f3e2c25ac3dfe4ec812
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/MeteredBoundedMailboxTest.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.