HADOOP-16834. Replace com.sun.istack.Nullable with javax.annotation.Nullable in DNS.java. Contributed by Xieming Li.
This commit is contained in:
parent
7dac7e1d13
commit
3ebf505965
|
@ -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.LinkedHashSet;
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue