HADOOP-16834. Replace com.sun.istack.Nullable with javax.annotation.Nullable in DNS.java. Contributed by Xieming Li.

This commit is contained in:
Akira Ajisaka 2020-02-07 19:30:06 +09:00
parent 7dac7e1d13
commit 3ebf505965
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -19,7 +19,6 @@
package org.apache.hadoop.net; package org.apache.hadoop.net;
import com.google.common.net.InetAddresses; import com.google.common.net.InetAddresses;
import com.sun.istack.Nullable;
import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.classification.InterfaceStability;
import org.slf4j.Logger; import org.slf4j.Logger;
@ -36,6 +35,7 @@
import java.util.List; import java.util.List;
import java.util.Vector; import java.util.Vector;
import javax.annotation.Nullable;
import javax.naming.NamingException; import javax.naming.NamingException;
import javax.naming.directory.Attributes; import javax.naming.directory.Attributes;
import javax.naming.directory.DirContext; import javax.naming.directory.DirContext;