Collection ret = new HashSet(); for (Iterator iter = resolved.iterator(); iter.hasNext();) { IvyNode node = (IvyNode)iter.next(); ret.add(node.getRealNode().getResolvedId()); } return ret;
return new HashSet(evicted);
    public Collection getEvictedRevisions(ModuleId mid, String rootModuleConf) {        Collection resolved = (Collection)_evictedDeps.get(new ModuleIdConf(mid, rootModuleConf));        if (resolved == null) {            return new HashSet();        } else {            Collection ret = new HashSet();            for (Iterator iter = resolved.iterator(); iter.hasNext();) {                IvyNode node = (IvyNode)iter.next();                ret.add(node.getRealNode().getResolvedId());            }            return ret;        }    }