X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FCompositeDataTreeCohort.java;h=200f766b5d3619da0bc1427145a1736ee94bcd77;hb=0fdb21f91e0e61e8ee911beb4cda9053537a0ccd;hp=0ef49b6244c33a8a86fb7adec36106117c1f6175;hpb=f81bccec7ac422dbcfdfba70dcfa22f9824b8e4c;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/CompositeDataTreeCohort.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/CompositeDataTreeCohort.java index 0ef49b6244..200f766b5d 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/CompositeDataTreeCohort.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/CompositeDataTreeCohort.java @@ -232,7 +232,7 @@ class CompositeDataTreeCohort { aggregateFuture.onComplete(new OnComplete>() { @Override - public void onComplete(Throwable failure, Iterable results) { + public void onComplete(final Throwable failure, final Iterable results) { callbackExecutor.execute( () -> processResponses(failure, results, currentState, afterState, returnFuture)); } @@ -244,8 +244,8 @@ class CompositeDataTreeCohort { // FB issues violation for passing null to CompletableFuture#complete but it is valid and necessary when the // generic type is Void. @SuppressFBWarnings("NP_NONNULL_PARAM_VIOLATION") - private void processResponses(Throwable failure, Iterable results, State currentState, State afterState, - CompletableFuture resultFuture) { + private void processResponses(final Throwable failure, final Iterable results, + final State currentState, final State afterState, final CompletableFuture resultFuture) { if (failure != null) { successfulFromPrevious = Collections.emptyList(); resultFuture.completeExceptionally(failure); @@ -260,7 +260,7 @@ class CompositeDataTreeCohort { } else if (result instanceof Status.Failure) { failed.add((Failure) result); } else { - LOG.warn("{}: unrecognized response {}, ignoring it", result); + LOG.warn("{}: unrecognized response {}, ignoring it", txId, result); } }