Fix FindBugs warnings in sal-distributed-datastore and enable enforcement
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / entityownership / EntityOwnershipShard.java
index e0bd7f116fb8473de08b8524e90acf6063a7adfb..47de1195e428507599d82f81f04c1907e49654c1 100644 (file)
@@ -235,7 +235,7 @@ class EntityOwnershipShard extends Shard {
     void tryCommitModifications(final BatchedModifications modifications) {
         if (isLeader()) {
             LOG.debug("{}: Committing BatchedModifications {} locally", persistenceId(),
-                    modifications.getTransactionID());
+                    modifications.getTransactionId());
 
             // Note that it's possible the commit won't get consensus and will timeout and not be applied
             // to the state. However we don't need to retry it in that case b/c it will be committed to
@@ -248,7 +248,7 @@ class EntityOwnershipShard extends Shard {
                 possiblyRemoveAllInitialCandidates(leader);
 
                 LOG.debug("{}: Sending BatchedModifications {} to leader {}", persistenceId(),
-                        modifications.getTransactionID(), leader);
+                        modifications.getTransactionId(), leader);
 
                 Future<Object> future = Patterns.ask(leader, modifications, TimeUnit.SECONDS.toMillis(
                         getDatastoreContext().getShardTransactionCommitTimeoutInSeconds()));