Reduce JSR305 proliferation
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / ActorSystemProvider.java
index dcb3b6b714150202bc4b68840b816a07a853d252..32e021037864a6262f09c1e74331e1789152bffe 100644 (file)
@@ -8,7 +8,7 @@
 package org.opendaylight.controller.cluster;
 
 import akka.actor.ActorSystem;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.ListenerRegistration;
 
 /**
@@ -23,8 +23,7 @@ public interface ActorSystemProvider {
      *
      * @return the ActorSystem.
      */
-    @Nonnull
-    ActorSystem getActorSystem();
+    @NonNull ActorSystem getActorSystem();
 
     /**
      * Register a listener for ActorSystem lifecycle events.
@@ -33,5 +32,5 @@ public interface ActorSystemProvider {
      * @return a ListenerRegistration instance to be used to unregister
      */
     ListenerRegistration<ActorSystemProviderListener> registerActorSystemProviderListener(
-            @Nonnull ActorSystemProviderListener listener);
+            @NonNull ActorSystemProviderListener listener);
 }