Use a simple list for string code table
[controller.git] / opendaylight / md-sal / messagebus-spi / src / main / java / org / opendaylight / controller / messagebus / spi / EventSource.java
index 6a6266a0c62abae07fc155a76ee8a6ad4057753d..3221e1338d52ffcbdf908887056407bac7a4e8b6 100644 (file)
@@ -8,14 +8,13 @@
 package org.opendaylight.controller.messagebus.spi;
 
 import java.util.List;
-
 import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.eventsource.rev141202.EventSourceService;
 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey;
 import org.opendaylight.yangtools.yang.model.api.SchemaPath;
 
 /**
- * Event source is a node in topology which is able to produces notifications.
- * To register event source you use {@link EventSourceRegistry#registerEventSource(EventSource)()}.
+ * Event source is a node in topology which is able to produce notifications.
+ * To register event source you use {@link EventSourceRegistry#registerEventSource(EventSource)}.
  * EventSourceRegistry will request registered event source to publish notifications
  * whenever EventSourceRegistry has been asked to publish a certain type of notifications.
  * EventSourceRegistry will call method JoinTopic to request EventSource to publish notification.
@@ -25,7 +24,7 @@ import org.opendaylight.yangtools.yang.model.api.SchemaPath;
 public interface EventSource extends EventSourceService, AutoCloseable {
 
     /**
-     * Identifier of node associated with event source
+     * Identifier of node associated with event source.
      *
      * @return instance of NodeKey
      */
@@ -37,5 +36,4 @@ public interface EventSource extends EventSourceService, AutoCloseable {
      * @return list of available notification
      */
     List<SchemaPath> getAvailableNotifications();
-
-}
\ No newline at end of file
+}