diff -ruN a/1890/NET/worlds/network/DNSLookup.java b/1890/NET/worlds/network/DNSLookup.java --- a/1890/NET/worlds/network/DNSLookup.java 2023-08-21 23:27:15.000000000 -0500 +++ b/1890/NET/worlds/network/DNSLookup.java 2024-01-08 01:30:41.000000000 -0600 @@ -1,6 +1,5 @@ package NET.worlds.network; -import NET.worlds.core.Debug; import java.net.MalformedURLException; import java.net.UnknownHostException; import java.util.Hashtable; @@ -14,42 +13,19 @@ private int timeout; public static java.net.URL lookup(java.net.URL var0) throws MalformedURLException, UnknownHostException { - return lookup((java.net.URL)var0, 30); + return var0; } public static java.net.URL lookupAll(java.net.URL var0) throws MalformedURLException, UnknownHostException { - return lookupAll((java.net.URL)var0, 30); + return var0; } public static java.net.URL lookup(java.net.URL var0, int var1) throws MalformedURLException, UnknownHostException { - String var2 = var0.getHost(); - if (var2 == null) { - return var0; - } else { - Debug.assert(var0.getRef() == null); - return new java.net.URL(var0.getProtocol(), lookup(var2, var1), var0.getPort(), var0.getFile()); - } + return var0; } public static java.net.URL lookupAll(java.net.URL var0, int var1) throws MalformedURLException, UnknownHostException { - String var2 = var0.getHost(); - if (var2 == null) { - return var0; - } else { - Debug.assert(var0.getRef() == null); - String[] var3 = lookupAll(var2, var1); - String var4 = ""; - - for(int var5 = 0; var5 < var3.length; ++var5) { - if (var5 != 0) { - var4 = var4 + ";"; - } - - var4 = var4 + var3[var5]; - } - - return new java.net.URL(var0.getProtocol(), var4, var0.getPort(), var0.getFile()); - } + return var0; } public static String lookup(String var0) throws UnknownHostException { @@ -57,20 +33,16 @@ } public static String lookup(String var0, int var1) throws UnknownHostException { - return isDotted(var0) ? var0 : lookupAllCommon(var0, var1)[0]; + return var0; + //return isDotted(var0) ? var0 : lookupAllCommon(var0, var1)[0]; } public static String[] lookupAll(String var0) throws UnknownHostException { - return lookupAll((String)var0, 30); + return new String[]{var0}; } public static String[] lookupAll(String var0, int var1) throws UnknownHostException { - if (isDotted(var0)) { - String[] var2 = new String[]{var0}; - return var2; - } else { - return lookupAllCommon(var0, var1); - } + return new String[]{var0}; } private static String[] lookupAllCommon(String var0, int var1) throws UnknownHostException {