Get rid of JSR305 annotations
[bgpcep.git] / bgp / rib-spi / src / main / java / org / opendaylight / protocol / bgp / rib / spi / state / BGPAfiSafiState.java
index acaf9069d0f9a36380c7baf945e0a7bd97d6a4ed..d761727cd9bb743c00e0e9a36a6b82c87f9bbadb 100644 (file)
@@ -5,24 +5,23 @@
  * 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.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.rib.TablesKey;
+import org.eclipse.jdt.annotation.NonNull;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.TablesKey;
 
 /**
  * BGP Operational Afi SafiS State.
  */
-public interface BGPAfiSafiState extends BGPGracelfulRestartState {
+public interface BGPAfiSafiState extends BGPLlGracelfulRestartState {
     /**
      * is AfiSafi Supported.
      *
      * @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 BGPGracelfulRestartState {
      * @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 BGPGracelfulRestartState {
      * @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 BGPGracelfulRestartState {
      * @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();
 }