Move DataTreeCandidate extraction to where it is applied 64/85564/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Jun 2019 10:45:15 +0000 (12:45 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 4 Nov 2019 17:50:02 +0000 (17:50 +0000)
commitb182c31152ee3459220479fc38ab4742cba63bdd
tree5d7ffa9e95e35e946a1b0361d0490c002c15ab20
parentf1ecd20014671254c862bdc6e28f5eaf176983f5
Move DataTreeCandidate extraction to where it is applied

This patch just moves the code that is extracting the candidate
from payload into the same method that is going to apply it, giving
us an opportunity to merge the two interfaces.

JIRA: CONTROLLER-1889
Change-Id: I44a5e2f7181147dca9377d0a9516bbe6b3ba85e3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 67c6623cebe8f1d735df90eccc85fd223e6c021f)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java