Reuse SUCCESS_FUTURE 88/82688/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 24 Jun 2019 15:36:40 +0000 (17:36 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 26 Jun 2019 12:10:25 +0000 (12:10 +0000)
commit8c29b77b5b8a0967615ecc29eb44a920fc2a0529
treea92b294bdaa49da4bc3d2d99957ba035b66c17d4
parent3d509768297f8e45f1148032968826f0d18bab74
Reuse SUCCESS_FUTURE

Rather than allocating new temporary objects reuse a constant
we have handy.

Change-Id: I3b27eb1cc75c967e4f880e2c5f287c040276f674
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ForeignShardThreePhaseCommitCohort.java