connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java
equal
deleted
inserted
replaced
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(); |