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 29e8a477e87e643a0ef5435402c8b422aa806a39..6e89ca7110e2bbe31444b4113831f8b45a7fbb5d 100644 (file)
@@ -24,18 +24,18 @@ import scala.concurrent.duration.FiniteDuration;
 
 /**
  * This is a sample implementation of a Role Change Listener which is an actor, which registers itself to the ClusterRoleChangeNotifier
- * <p/>
+ * <p>
  * The Role Change listener receives a SetNotifiers message with the notifiers to register itself with.
- * <p/>
+ * <p>
  * It kicks of a scheduler which sents registration messages to the notifiers, till it gets a RegisterRoleChangeListenerReply
- * <p/>
+ * <p>
  * If all the notifiers have been regsitered with, then it cancels the scheduler.
  * It starts the scheduler again when it receives a new registration
  *
  */
 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);