Eliminate Empty future constants 27/114027/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2024 12:15:46 +0000 (14:15 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2024 12:15:46 +0000 (14:15 +0200)
commitc9f34587361b0dc6f3cf2078b70f4e90f86166ea
tree1b78126933f12e3ee28e69af9f20d0bbb5808aea
parent790f660347dc102267d1f55d4a9058760b1f9235
Eliminate Empty future constants

We have Empty.immediateFuture(), which gives us a well-known constant.
Use that instead of brewing our own.

Change-Id: I1d22f7783c18a0d48990f37facf36109eca42019
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/DOMNotificationRouter.java
dom/mdsal-dom-broker/src/test/java/org/opendaylight/mdsal/dom/broker/TestCommitCohort.java
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMStoreThreePhaseCommitCohort.java