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%2FShardDataTreeTransactionChain.java;h=004e305f70ccf49d09a55694a3382a32b4fa54d9;hb=4e696d9795fe7eef40369c05c340d137394126f3;hp=eefebb6af8f6c65638cee9d6e19d965e9a58e0d4;hpb=4d1709660b7af992d4c382a2a38debb5c7d64fb9;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeTransactionChain.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeTransactionChain.java index eefebb6af8..004e305f70 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeTransactionChain.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeTransactionChain.java @@ -67,7 +67,8 @@ final class ShardDataTreeTransactionChain extends ShardDataTreeTransactionParent @Override protected void abortTransaction(final AbstractShardDataTreeTransaction transaction) { if (transaction instanceof ReadWriteShardDataTreeTransaction) { - Preconditions.checkState(openTransaction != null, "Attempted to abort transaction %s while none is outstanding", transaction); + Preconditions.checkState(openTransaction != null, + "Attempted to abort transaction %s while none is outstanding", transaction); LOG.debug("Aborted transaction {}", transaction); openTransaction = null; } @@ -75,7 +76,8 @@ final class ShardDataTreeTransactionChain extends ShardDataTreeTransactionParent @Override protected ShardDataTreeCohort finishTransaction(final ReadWriteShardDataTreeTransaction transaction) { - Preconditions.checkState(openTransaction != null, "Attempted to finish transaction %s while none is outstanding", transaction); + Preconditions.checkState(openTransaction != null, + "Attempted to finish transaction %s while none is outstanding", transaction); // dataTree is finalizing ready the transaction, we just record it for the next // transaction in chain