Merge "Correct the self usage in ThreePhaseCommitCohort Seems this correction missed...
authorMoiz Raja <moraja@cisco.com>
Thu, 21 Aug 2014 09:11:04 +0000 (09:11 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 21 Aug 2014 09:11:04 +0000 (09:11 +0000)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohort.java

index 25705bff418740c873af8334091b3961612c3f1e..34d35312838fd4346e7446161cd4f1f1c8f9cc74 100644 (file)
@@ -90,7 +90,7 @@ public class ThreePhaseCommitCohort extends AbstractUntypedActor {
             public void onFailure(Throwable t) {
                 LOG.error(t, "An exception happened during abort");
                 sender
-                    .tell(new akka.actor.Status.Failure(t), getSelf());
+                    .tell(new akka.actor.Status.Failure(t), self);
             }
         });
     }
@@ -119,7 +119,7 @@ public class ThreePhaseCommitCohort extends AbstractUntypedActor {
             public void onFailure(Throwable t) {
                 LOG.error(t, "An exception happened during pre-commit");
                 sender
-                    .tell(new akka.actor.Status.Failure(t), getSelf());
+                    .tell(new akka.actor.Status.Failure(t), self);
             }
         });
 
@@ -138,7 +138,7 @@ public class ThreePhaseCommitCohort extends AbstractUntypedActor {
             public void onFailure(Throwable t) {
                 LOG.error(t, "An exception happened during canCommit");
                 sender
-                    .tell(new akka.actor.Status.Failure(t), getSelf());
+                    .tell(new akka.actor.Status.Failure(t), self);
             }
         });