diff -r 654d13a9d418 -r 2c1483a2585f connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java --- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java Tue Jul 28 14:30:52 2009 -0500 +++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java Tue Jul 28 15:06:01 2009 -0500 @@ -297,14 +297,14 @@ } public Collection getConnectionTypes() { - return connectionTypeIdMap.values(); + return new ArrayList(connectionTypeIdMap.values()); } public Collection getCompatibleServices(IConnectionType connectionType) { Check.checkContract(connectionTypeToServices != null); Collection services = connectionTypeToServices.get(connectionType); if (services != null) - return services; + return new ArrayList(services); return Collections.EMPTY_LIST; } @@ -403,11 +403,11 @@ * @see com.nokia.carbide.remoteconnections.registry.IConnectionStore#getConnections() */ public Collection getConnections() { - return connectionToConnectedServices.keySet(); + return new ArrayList(connectionToConnectedServices.keySet()); } public Collection getConnectedServices(IConnection connection) { - return connectionToConnectedServices.get(connection); + return new ArrayList(connectionToConnectedServices.get(connection)); } private File getConnectionStorageFile() { @@ -439,7 +439,7 @@ } public Collection getServices() { - return services; + return new ArrayList(services); } public IService findServiceByID(String id) {