Get rid of JSR305 annotations
[bgpcep.git] / bgp / rib-spi / src / main / java / org / opendaylight / protocol / bgp / rib / spi / state / BGPAfiSafiState.java
index 4b6b3130672a09d358170a5be3677b0d1875666e..d761727cd9bb743c00e0e9a36a6b82c87f9bbadb 100644 (file)
@@ -5,11 +5,10 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.protocol.bgp.rib.spi.state;
 
 import java.util.Set;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.TablesKey;
 
 /**
@@ -22,7 +21,7 @@ public interface BGPAfiSafiState extends BGPLlGracelfulRestartState {
      * @param tablesKey tables Key
      * @return true if Afi Safi was advertized to and by the neighbor
      */
-    boolean isAfiSafiSupported(@Nonnull TablesKey tablesKey);
+    boolean isAfiSafiSupported(@NonNull TablesKey tablesKey);
 
     /**
      * Prefixes installed per specific tablekey.
@@ -30,7 +29,7 @@ public interface BGPAfiSafiState extends BGPLlGracelfulRestartState {
      * @param tablesKey tables Key
      * @return count
      */
-    long getPrefixesInstalledCount(@Nonnull TablesKey tablesKey);
+    long getPrefixesInstalledCount(@NonNull TablesKey tablesKey);
 
     /**
      * Prefixed sent to the Peer count.
@@ -38,7 +37,7 @@ public interface BGPAfiSafiState extends BGPLlGracelfulRestartState {
      * @param tablesKey tablesKey Type
      * @return Prefixes sent count
      */
-    long getPrefixesSentCount(@Nonnull TablesKey tablesKey);
+    long getPrefixesSentCount(@NonNull TablesKey tablesKey);
 
     /**
      * Prefixed received from the peer count.
@@ -46,21 +45,19 @@ public interface BGPAfiSafiState extends BGPLlGracelfulRestartState {
      * @param tablesKey tablesKey Type
      * @return Prefixed received count
      */
-    long getPrefixesReceivedCount(@Nonnull TablesKey tablesKey);
+    long getPrefixesReceivedCount(@NonNull TablesKey tablesKey);
 
     /**
      * List of TablesKey - Afi Safi Advertized to the neighbor.
      *
      * @return TableKeys
      */
-    @Nonnull
-    Set<TablesKey> getAfiSafisAdvertized();
+    @NonNull Set<TablesKey> getAfiSafisAdvertized();
 
     /**
      * List of TablesKey - Afi Safi Advertized by neighbor.
      *
      * @return TableKeys
      */
-    @Nonnull
-    Set<TablesKey> getAfiSafisReceived();
+    @NonNull Set<TablesKey> getAfiSafisReceived();
 }