Clean up (DOM)DataTreeIdentifier methods
[mdsal.git] / dom / mdsal-dom-api / src / main / java / org / opendaylight / mdsal / dom / api / DOMNotificationListener.java
index ed26821b84cba6e303d901997d575a57cd17b533..7d872bf70d03c05787bde4cc7dcebbb8f9556e6d 100644 (file)
@@ -7,18 +7,17 @@
  */
 package org.opendaylight.mdsal.dom.api;
 
-import java.util.EventListener;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Interface implemented by listeners interested in {@link DOMNotification}s.
  */
-public interface DOMNotificationListener extends EventListener {
+public interface DOMNotificationListener {
     /**
      * Invoked whenever a {@link DOMNotification} matching the subscription
      * criteria is received.
      *
      * @param notification Received notification
      */
-    void onNotification(@Nonnull DOMNotification notification);
+    void onNotification(@NonNull DOMNotification notification);
 }