X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fbehaviors%2FAbstractRaftActorBehavior.java;h=6ef4914477bee8fc2f7a50a78f66fdfd8be2f1d0;hp=fd80d66ebfbc274aa676d098afba452547d7688a;hb=766df8b58cc1decd7b40e0adbf41d3657fc21f2c;hpb=e08568ddef3a5455b6b477e6672b8629f6935c20 diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractRaftActorBehavior.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractRaftActorBehavior.java index fd80d66ebf..6ef4914477 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractRaftActorBehavior.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractRaftActorBehavior.java @@ -425,7 +425,8 @@ public abstract class AbstractRaftActorBehavior implements RaftActorBehavior { this.leaderPayloadVersion = leaderPayloadVersion; } - protected RaftActorBehavior switchBehavior(RaftActorBehavior behavior) { + @Override + public RaftActorBehavior switchBehavior(RaftActorBehavior behavior) { LOG.info("{} :- Switching from behavior {} to {}", logName(), this.state(), behavior.state()); try { close();