Code Review
/
mdsal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
checkStyleViolationSeverity=error implemented for mdsal-dom-inmemory-datastore
[mdsal.git]
/
dom
/
mdsal-dom-inmemory-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
mdsal
/
dom
/
store
/
inmemory
/
ShardCommitCoordinationTask.java
diff --git
a/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardCommitCoordinationTask.java
b/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardCommitCoordinationTask.java
index 4ff9d2f5cdaaffa708830499503cc31085fa9317..dbbd0abdb2c0e393b56a10116ae53f780832e5d0 100644
(file)
--- a/
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardCommitCoordinationTask.java
+++ b/
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/ShardCommitCoordinationTask.java
@@
-21,7
+21,7
@@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
import org.slf4j.LoggerFactory;
/**
- * Task that coordinates the Commit phase of the provided {@link DOMStoreThreePhaseCommitCohort}'s
+ * Task that coordinates the Commit phase of the provided {@link DOMStoreThreePhaseCommitCohort}'s
.
*/
@Beta
public class ShardCommitCoordinationTask implements Callable<Void> {
*/
@Beta
public class ShardCommitCoordinationTask implements Callable<Void> {
@@
-64,9
+64,9
@@
public class ShardCommitCoordinationTask implements Callable<Void> {
private ListenableFuture<?>[] commitAll() {
final ListenableFuture<?>[] ops = new ListenableFuture<?>[cohorts.size()];
private ListenableFuture<?>[] commitAll() {
final ListenableFuture<?>[] ops = new ListenableFuture<?>[cohorts.size()];
- int i = 0;
+ int i
ndex
= 0;
for (final DOMStoreThreePhaseCommitCohort cohort : cohorts) {
for (final DOMStoreThreePhaseCommitCohort cohort : cohorts) {
- ops[i++] = cohort.commit();
+ ops[i
ndex
++] = cohort.commit();
}
return ops;
}
}
return ops;
}