From 3ebf5059651658dd5ed5dbc5fcba4e814b55c34c Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Fri, 7 Feb 2020 19:30:06 +0900 Subject: [PATCH] HADOOP-16834. Replace com.sun.istack.Nullable with javax.annotation.Nullable in DNS.java. Contributed by Xieming Li. --- .../hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java index 061971cb68..531ad80f41 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/DNS.java @@ -19,7 +19,6 @@ package org.apache.hadoop.net; import com.google.common.net.InetAddresses; -import com.sun.istack.Nullable; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; import org.slf4j.Logger; @@ -36,6 +35,7 @@ import java.util.List; import java.util.Vector; +import javax.annotation.Nullable; import javax.naming.NamingException; import javax.naming.directory.Attributes; import javax.naming.directory.DirContext;