summaryrefslogtreecommitdiffstats
path: root/bgp/inet
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-02-23 09:40:13 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-02-23 09:02:11 +0000
commit636f7819ccb90d39206765becbc7361d98219352 (patch)
treeb7bdf3ea1df35d8d157e5e969fcfe22a63813d48 /bgp/inet
parente7e46a21fb65b55e2910b0136c06f26c489f473a (diff)
Remove usages of Sun's Nullable
use javax.annotation.Nullable instead. Change-Id: Ia570d58dabb88c3b4ac7ef3a5e170d12434e9347 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 46f59f5928e191d991313308a144d6792f396d05)
Diffstat (limited to 'bgp/inet')
-rw-r--r--bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv4Writer.java2
-rw-r--r--bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv6Writer.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv4Writer.java b/bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv4Writer.java
index ef1853ce8..a6bd963e7 100644
--- a/bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv4Writer.java
+++ b/bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv4Writer.java
@@ -19,7 +19,6 @@ package io.fd.hc2vpp.bgp.inet;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
-import com.sun.istack.internal.Nullable;
import io.fd.hc2vpp.common.translate.util.Ipv4Translator;
import io.fd.hc2vpp.common.translate.util.JvppReplyConsumer;
import io.fd.honeycomb.translate.bgp.RouteWriter;
@@ -27,6 +26,7 @@ import io.fd.honeycomb.translate.write.WriteFailedException;
import io.fd.vpp.jvpp.core.dto.IpAddDelRoute;
import io.fd.vpp.jvpp.core.future.FutureJVppCore;
import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.inet.rev150305.ipv4.routes.Ipv4Routes;
diff --git a/bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv6Writer.java b/bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv6Writer.java
index 0e7e31de4..97e66afb1 100644
--- a/bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv6Writer.java
+++ b/bgp/inet/src/main/java/io/fd/hc2vpp/bgp/inet/Ipv6Writer.java
@@ -19,7 +19,6 @@ package io.fd.hc2vpp.bgp.inet;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
-import com.sun.istack.internal.Nullable;
import io.fd.hc2vpp.common.translate.util.Ipv6Translator;
import io.fd.hc2vpp.common.translate.util.JvppReplyConsumer;
import io.fd.honeycomb.translate.bgp.RouteWriter;
@@ -27,6 +26,7 @@ import io.fd.honeycomb.translate.write.WriteFailedException;
import io.fd.vpp.jvpp.core.dto.IpAddDelRoute;
import io.fd.vpp.jvpp.core.future.FutureJVppCore;
import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.inet.rev150305.ipv6.routes.Ipv6Routes;