OPNFLWPLUG-1071 : Removal of javax.annotation.Nonnnull and replacement of javax.annot...
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / lifecycle / ContextChainMastershipWatcher.java
index b4d5e51cf9adaee15ab1fcbe1502017926e973b3..b2a6b0d8b030c8f80dc0e90c17caf3ca1e8a9062 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.openflowplugin.api.openflow.lifecycle;
 
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo;
 
 /**
@@ -40,7 +40,7 @@ public interface ContextChainMastershipWatcher {
      * @param deviceInfo connected switch identification
      * @param mastershipState state
      */
-    void onMasterRoleAcquired(DeviceInfo deviceInfo, @Nonnull ContextChainMastershipState mastershipState);
+    void onMasterRoleAcquired(DeviceInfo deviceInfo, @NonNull ContextChainMastershipState mastershipState);
 
     /**
      * Change to SLAVE role on device was successful.