OPNFLWPLUG-1071 : Removal of javax.annotation.Nonnnull and replacement of javax.annot...
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / lifecycle / GuardedContextImpl.java
index 9c1ff0fc325bb1e56e73ae98482702a3e5c2cce2..2dc60069ab0a6c48ed4182060428746050b7dc67 100644 (file)
@@ -22,7 +22,7 @@ import com.google.common.util.concurrent.Monitor.Guard;
 import com.google.common.util.concurrent.MoreExecutors;
 import com.google.common.util.concurrent.Service;
 import java.util.function.Function;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier;
 import org.opendaylight.openflowplugin.api.openflow.OFPContext;
 import org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo;
@@ -127,7 +127,7 @@ public class GuardedContextImpl implements GuardedContext {
         return result;
     }
 
-    @Nonnull
+    @NonNull
     @Override
     public ServiceGroupIdentifier getIdentifier() {
         return delegate.getIdentifier();
@@ -144,7 +144,7 @@ public class GuardedContextImpl implements GuardedContext {
     }
 
     @Override
-    public void registerMastershipWatcher(@Nonnull final ContextChainMastershipWatcher contextChainMastershipWatcher) {
+    public void registerMastershipWatcher(@NonNull final ContextChainMastershipWatcher contextChainMastershipWatcher) {
         delegate.registerMastershipWatcher(contextChainMastershipWatcher);
     }