X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2FActorSystemProvider.java;h=32e021037864a6262f09c1e74331e1789152bffe;hb=78aefba8c580123d0763b483fab81d2a993e32eb;hp=31ce16a1c01b071de0c4d8783763ea11dc8ca382;hpb=1a4a451d17d39b0dac45a70de9016bd4b0e6b249;p=controller.git diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/ActorSystemProvider.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/ActorSystemProvider.java index 31ce16a1c0..32e0210378 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/ActorSystemProvider.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/ActorSystemProvider.java @@ -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; /** @@ -17,11 +17,13 @@ import org.opendaylight.yangtools.concepts.ListenerRegistration; * @author Thomas Pantelis */ public interface ActorSystemProvider { + /** - * @return the current ActorSystem. + * Returns the ActorSystem. + * + * @return the ActorSystem. */ - @Nonnull - ActorSystem getActorSystem(); + @NonNull ActorSystem getActorSystem(); /** * Register a listener for ActorSystem lifecycle events. @@ -30,5 +32,5 @@ public interface ActorSystemProvider { * @return a ListenerRegistration instance to be used to unregister */ ListenerRegistration registerActorSystemProviderListener( - @Nonnull ActorSystemProviderListener listener); + @NonNull ActorSystemProviderListener listener); }