Get rid of JSR305 annotations
[bgpcep.git] / bgp / openconfig-spi / src / main / java / org / opendaylight / protocol / bgp / openconfig / spi / BGPTableTypeRegistryProvider.java
index df9783c8bfbd9261104973e85e9c44845761dbee..25ea9da671a0faf9ff3e8e246636d524cf8e0ae3 100644 (file)
@@ -5,10 +5,9 @@
  * 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.openconfig.spi;
 
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.types.rev151009.AfiSafiType;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev180329.AddressFamily;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev180329.SubsequentAddressFamily;
@@ -16,7 +15,6 @@ import org.opendaylight.yangtools.concepts.AbstractRegistration;
 
 /**
  * The BGP extension may provide supported table type (AFI/SAFI).
- *
  */
 public interface BGPTableTypeRegistryProvider extends  BGPTableTypeRegistryConsumer {
 
@@ -27,7 +25,7 @@ public interface BGPTableTypeRegistryProvider extends  BGPTableTypeRegistryConsu
      * @param afiSafiType OpenConfig AFI/SAFI representation.
      * @return Registration ticket.
      */
-    @Nonnull AbstractRegistration registerBGPTableType(@Nonnull Class<? extends AddressFamily> afi,
-            @Nonnull Class<? extends SubsequentAddressFamily> safi, @Nonnull Class<? extends AfiSafiType> afiSafiType);
+    @NonNull AbstractRegistration registerBGPTableType(@NonNull Class<? extends AddressFamily> afi,
+            @NonNull Class<? extends SubsequentAddressFamily> safi, @NonNull Class<? extends AfiSafiType> afiSafiType);
 
 }