Reuse SUCCESS_FUTURE 47/82747/1
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:05 +0000 (12:10 +0000)
commit313fb1a20be775d03824f7e139f6dc14a4cf8acb
treee34cf5c2107ff48301138768618e77924e712d45
parent8ec9ec39bf4d487a0f0c7a45c85d26ebddb3e1a5
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