Use MoreExecutors.directExecutor() 73/19973/1
authorRobert Varga <rovarga@cisco.com>
Sat, 2 May 2015 03:02:07 +0000 (05:02 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Sat, 9 May 2015 18:27:33 +0000 (18:27 +0000)
commit3c994aefa8044829c7cb77c23f154e35c458fcbe
treeb571d3cbf254df9ac53aef8e830d26270f636133
parent4b9316643d0001c8d36f6bc1ffab79f946f968e8
Use MoreExecutors.directExecutor()

Remove open-coded equivalent of the direct executor. We do not need an
ExecutorService, so it is sufficient and does precisely what our class
did.

Change-Id: Ib9424a1b4d3ba56f32ef5aec525de4026be0970a
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 335ea558bd22d4b09e4490aed96ddcbe44da6d76)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ConcurrentDOMDataBroker.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.