Move DataTreeCandidate extraction to where it is applied 10/82410/15
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Jun 2019 10:45:15 +0000 (12:45 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 27 Sep 2019 05:27:35 +0000 (05:27 +0000)
commit67c6623cebe8f1d735df90eccc85fd223e6c021f
tree4ec35aa84818fc108188b9b9447bc148a0e38519
parent26a1c60c198f03780f6a6d916ac24798a08e0910
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>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java