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 6df64e1..2e03138 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 5e88cc7..043333c 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;