return (DownloadSourceDO[]) sourcen.values().toArray(new DownloadSourceDO[sourcen.size()]);
DownloadSourceDO[] sources = null; synchronized(sourcen){ sources = (DownloadSourceDO[]) sourcen.values(). toArray(new DownloadSourceDO[sourcen.size()]); } return sources;
    public DownloadSourceDO[] getSources() {        return (DownloadSourceDO[]) sourcen.values().toArray(new            DownloadSourceDO[sourcen.size()]);    }