OPNFLWPLUG-1071 : Removal of javax.annotation.Nonnnull and replacement of javax.annot...
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / mastership / ReconciliationFrameworkEvent.java
index ea7aa2e31828895e41c63b80b6730b2214b5173f..44aa8187eea2c562a73359005bfff60457c2988c 100644 (file)
@@ -8,7 +8,7 @@
 package org.opendaylight.openflowplugin.api.openflow.mastership;
 
 import com.google.common.util.concurrent.ListenableFuture;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo;
 import org.opendaylight.openflowplugin.api.openflow.lifecycle.OwnershipChangeListener;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.rf.state.rev170713.ResultState;
@@ -36,7 +36,7 @@ public interface ReconciliationFrameworkEvent extends AutoCloseable {
      * @param deviceInfo connected switch identification
      * @return result state if the device can continue with connecting or should be disconnected
      */
-    ListenableFuture<ResultState> onDevicePrepared(@Nonnull DeviceInfo deviceInfo);
+    ListenableFuture<ResultState> onDevicePrepared(@NonNull DeviceInfo deviceInfo);
 
     /**
      * This event occurs after device is disconnected or being slaved.
@@ -46,7 +46,7 @@ public interface ReconciliationFrameworkEvent extends AutoCloseable {
      * @return future
      * @see MastershipChangeService
      */
-    ListenableFuture<Void> onDeviceDisconnected(@Nonnull DeviceInfo deviceInfo);
+    ListenableFuture<Void> onDeviceDisconnected(@NonNull DeviceInfo deviceInfo);
 
 
 }