Use Empty.immediateFuture() 28/114028/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2024 12:19:38 +0000 (14:19 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 16 Oct 2024 12:19:38 +0000 (14:19 +0200)
commit280782077f3329d7943487c1abc0dd93e38d73d6
treedcc3859703dbb68d260de4229e1a132fa1d5f29b
parent25eab772ced17cd86fa6f3298c1c18389c407476
Use Empty.immediateFuture()

We have a nice utility method, use that instead of brewing our own
constants.

Change-Id: Ifa504f80342907a95950cbbdaff399a72d599fcc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractTransactionCommitCohort.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/DirectTransactionCommitCohort.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/EmptyTransactionCommitCohort.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohortProxy.java