if (addresses == null) return (null);
if (addresses == null) return null;
    private static synchronized InetAddress[] checkCacheFor(String hostname) {        InetAddress[] addresses = null;        if (cache_size == 0) return (null);        Object obj = cache.get(hostname);        if (obj == null) return (null);        if (obj instanceof InetAddress[]) addresses = (InetAddress[]) obj;        if (addresses == null) return (null);        if (cache_period != -1)                if ((System.currentTimeMillis() - addresses[ 0].lookup_time) > cache_period) {                    cache.remove(hostname);                    return (null);                }        return addresses;    }