Centralize read{Augmentation,Node}Identifier() methods
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / notifications / RoleChangeNotifier.java
index c41d707fd86bb77425fb6189d65ed8b079605dc0..89f9dd12e050aab2e99da50cf1e945a2fccf4ab5 100644 (file)
@@ -19,7 +19,8 @@ import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
 /**
  * The RoleChangeNotifier is responsible for receiving Raft role and leader state change messages and notifying
  * the listeners (within the same node), which are registered with it.
- * <p/>
+ *
+ * <p>
  * The RoleChangeNotifier is instantiated by the Shard and injected into the RaftActor.
  */
 public class RoleChangeNotifier extends AbstractUntypedActor implements AutoCloseable {
@@ -98,7 +99,7 @@ public class RoleChangeNotifier extends AbstractUntypedActor implements AutoClos
     }
 
     @Override
-    public void close() throws Exception {
+    public void close() {
         registeredListeners.clear();
     }
 }