Refactoring

This commit is contained in:
M66B
2020-04-16 17:39:29 +02:00
parent 67d621450d
commit 1f8079e773
7 changed files with 15 additions and 15 deletions

View File

@@ -47,7 +47,7 @@ public class IPInfo {
if (to == null || !to.contains("@"))
throw new UnknownHostException();
String domain = to.substring(to.indexOf('@') + 1);
InetAddress address = DNSHelper.lookupMx(context, domain);
InetAddress address = DnsHelper.lookupMx(context, domain);
if (address == null)
throw new UnknownHostException();
return new Pair<>(domain, getOrganization(address));