Remove unused ShardCommitCoordinator constructor parameter 10/29710/3
authorMoiz Raja <moraja@cisco.com>
Sat, 14 Nov 2015 22:50:45 +0000 (14:50 -0800)
committerGerrit Code Review <gerrit@opendaylight.org>
Sun, 15 Nov 2015 08:46:23 +0000 (08:46 +0000)
Change-Id: I1c25a18e6f4ed700547f7cc9931d5a44d31c7b93
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinator.java

index 6df64e162888915d85315e2cacf0c05af3ebb170..2e0313807ebbe44b2f190e41909d428149aedfef 100644 (file)
@@ -142,7 +142,7 @@ public class Shard extends RaftActor {
 
         commitCoordinator = new ShardCommitCoordinator(store,
                 datastoreContext.getShardCommitQueueExpiryTimeoutInMillis(),
-                datastoreContext.getShardTransactionCommitQueueCapacity(), self(), LOG, this.name);
+                datastoreContext.getShardTransactionCommitQueueCapacity(), LOG, this.name);
 
         setTransactionCommitTimeout();
 
index 5e88cc73d38c4ae6dd31d61282503e169f2d09c9..043333ce2fb8f8530b9c3dd7c487203abad00708 100644 (file)
@@ -70,7 +70,7 @@ class ShardCommitCoordinator {
     private ReadyTransactionReply readyTransactionReply;
 
     ShardCommitCoordinator(ShardDataTree dataTree,
-            long cacheExpiryTimeoutInMillis, int queueCapacity, ActorRef shardActor, Logger log, String name) {
+            long cacheExpiryTimeoutInMillis, int queueCapacity, Logger log, String name) {
 
         this.queueCapacity = queueCapacity;
         this.log = log;