Remove unused codes
This commit is contained in:
47 files changed
+169
-478
No files matched your search
@@ -67,8 +67,6 @@ public class EhDns implements Dns {
|
||||
|
||||
@Override
|
||||
public List<InetAddress> lookup(String hostname) throws UnknownHostException {
|
||||
if (hostname == null) throw new UnknownHostException("hostname == null");
|
||||
|
||||
InetAddress inetAddress = hosts.get(hostname);
|
||||
if (inetAddress != null) {
|
||||
return Collections.singletonList(inetAddress);
|
||||
|
||||
Reference in new issue
Block a user