return (ISVNRepositoryLocation[])repositories.values().toArray(new ISVNRepositoryLocation[repositories.size()]);
IEclipsePreferences prefs = (IEclipsePreferences) SVNRepositoryLocation.getParentPreferences(); try { String[] keys = prefs.childrenNames(); for (int i = 0; i < keys.length; i++) { String key = keys[i]; try { IEclipsePreferences node = (IEclipsePreferences) prefs.node(key); String location = node.get(SVNRepositoryLocation.PREF_LOCATION, null); if (location != null) { repositories.put(location, SVNRepositoryLocation.fromString(location)); } else { node.removeNode(); prefs.flush(); } } catch (SVNException e) {  SVNProviderPlugin.log(e); } } } catch (BackingStoreException e) {  SVNProviderPlugin.log(SVNException.wrapException(e)); } return (ISVNRepositoryLocation[])repositories.values().toArray(new ISVNRepositoryLocation[repositories.size()]);
    public ISVNRepositoryLocation[] getKnownRepositories() {        return (ISVNRepositoryLocation[])repositories.values().toArray(new ISVNRepositoryLocation[repositories.size()]);    }