connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java
branchRCL_2_4
changeset 977 787669693166
parent 937 c2a0b0241151
child 1004 6a876b480ec4
equal deleted inserted replaced
973:bd54fb1ea34a 977:787669693166
   431 	public Collection<IConnectedService> getConnectedServices(IConnection connection) {
   431 	public Collection<IConnectedService> getConnectedServices(IConnection connection) {
   432 		List<IConnectedService> connectedServices = connectionToConnectedServices.get(connection);
   432 		List<IConnectedService> connectedServices = connectionToConnectedServices.get(connection);
   433 		if (connectedServices != null)
   433 		if (connectedServices != null)
   434 			return new ArrayList<IConnectedService>(connectedServices);
   434 			return new ArrayList<IConnectedService>(connectedServices);
   435 		
   435 		
   436 		return null;
   436 		return Collections.emptyList();
   437 	}
   437 	}
   438 
   438 
   439 	private File getConnectionStorageFile() {
   439 	private File getConnectionStorageFile() {
   440 		IPath path = RemoteConnectionsActivator.getDefault().getStateLocation().append(CONNECTION_DATA_XML);
   440 		IPath path = RemoteConnectionsActivator.getDefault().getStateLocation().append(CONNECTION_DATA_XML);
   441 		return path.toFile();
   441 		return path.toFile();