addUrlForVerification(remoteURL);
addUrlForVerification(netName, remoteURL);
    public synchronized void addURL(String netName, RemoteURL remoteURL) {        GnutellaNet net = lookupNet(netName);        HashMap map = net.getURLs();        if (map.containsKey(remoteURL.getRemoteURL()))            return;        map.put(remoteURL.getRemoteURL(), remoteURL);        addUrlForVerification(remoteURL);        Date oldest = remoteURL.getLastUpdated();        Date now = new Date();        while (map.size() > MAX_URLS_STORED) {            String oldestKey = null;            Iterator it = map.keySet().iterator();            while (it.hasNext()) {                String key = (String)it.next();                Date d = ((RemoteURL)map.get(key)).getLastUpdated();                if (now.getTime() - d.getTime() > MAX_URL_AGE)                    it.remove();                if (oldest.getTime() > d.getTime()) {                    oldestKey = key;                    oldest = d;                }            }            if (oldestKey != null && map.size() > MAX_URLS_STORED) {                map.remove(oldestKey);            }        }    }