Remove explicit default super-constructor calls
[controller.git] / opendaylight / md-sal / sal-akka-raft-example / src / main / java / org / opendaylight / controller / cluster / example / ExampleRoleChangeListener.java
index f6930e8b09656cf59e48aa5a85d0b6ebb9c2c72f..6e89ca7110e2bbe31444b4113831f8b45a7fbb5d 100644 (file)
@@ -35,7 +35,7 @@ import scala.concurrent.duration.FiniteDuration;
  */
 public class ExampleRoleChangeListener extends AbstractUntypedActor implements AutoCloseable{
     // the akka url should be set to the notifiers actor-system and domain.
-    private static final String NOTIFIER_AKKA_URL = "akka.tcp://raft-test@127.0.0.1:2550/user/";
+    private static final String NOTIFIER_AKKA_URL = "akka://raft-test@127.0.0.1:2550/user/";
 
     private Map<String, Boolean> notifierRegistrationStatus = new HashMap<>();
     private Cancellable registrationSchedule = null;
@@ -45,7 +45,6 @@ public class ExampleRoleChangeListener extends AbstractUntypedActor implements A
     private static final String[] shardsToMonitor = new String[] {"example"};
 
     public ExampleRoleChangeListener(String memberName) {
-        super();
         scheduleRegistrationListener(schedulerDuration);
         this.memberName = memberName;
         populateRegistry(memberName);