Remove javax.annotation nullness annotations
[netconf.git] / netconf / callhome-protocol / src / main / java / org / opendaylight / netconf / callhome / protocol / CallHomeChannelActivator.java
index 0fad0a5b1be3a8fb4911d83f04759bac23a306de..e217cd3a14ba6d7f5f06cacb89ce6ceddd63af5b 100644 (file)
@@ -8,7 +8,7 @@
 package org.opendaylight.netconf.callhome.protocol;
 
 import io.netty.util.concurrent.Promise;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.netconf.client.NetconfClientSession;
 import org.opendaylight.netconf.client.NetconfClientSessionListener;
 
@@ -26,6 +26,5 @@ public interface CallHomeChannelActivator {
      * @param listener Client Session Listener to be attached to NETCONF session.
      * @return Promise with negotiated NETCONF session
      */
-    @Nonnull
-    Promise<NetconfClientSession> activate(@Nonnull NetconfClientSessionListener listener);
+    @NonNull Promise<NetconfClientSession> activate(@NonNull NetconfClientSessionListener listener);
 }