Fix Eclipse compilation warnings. 30/28030/3
authorGary Wu <Gary.Wu1@huawei.com>
Wed, 7 Oct 2015 20:54:41 +0000 (13:54 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 9 Oct 2015 17:45:49 +0000 (17:45 +0000)
commitcf434f30a13bde72c33799e33de39fae5e62a773
tree8a567f17eb31da5f560018b65fe89e067fd9a298
parent2eddbcc5db186af5b5feacfe5d7056e2f3dccd38
Fix Eclipse compilation warnings.

Fix compilation warnings in DistributedDataStoreTest
that DistributedDataStores were never closed.  Also fix
NPEs on closing DistributedDataStores when the
MXBeans are uninitialized.

Change-Id: I5dcaa389e1e69f934e9016933b00be3adaf4529f
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DistributedDataStore.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreTest.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.