debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/LaunchWizardData.java
changeset 1968 3482df86a51d
parent 1780 e2992bb8a7f9
child 2023 54aa500f40cd
equal deleted inserted replaced
1967:86b9e2a7db20 1968:3482df86a51d
   401 	private IConnectedService getConnectedService() {
   401 	private IConnectedService getConnectedService() {
   402 		if (connection != null) {
   402 		if (connection != null) {
   403 			Collection<IConnectedService> connectedServices = 
   403 			Collection<IConnectedService> connectedServices = 
   404 				RemoteConnectionsActivator.getConnectionsManager().getConnectedServices(connection);
   404 				RemoteConnectionsActivator.getConnectionsManager().getConnectedServices(connection);
   405 			for (IConnectedService connectedService : connectedServices) {
   405 			for (IConnectedService connectedService : connectedServices) {
   406 				if (connectedService.getService().getIdentifier().equals(service.getIdentifier()))
   406 				if (service != null && connectedService.getService().getIdentifier().equals(service.getIdentifier()))
   407 					return connectedService;
   407 					return connectedService;
   408 			}
   408 			}
   409 		}
   409 		}
   410 		return null;
   410 		return null;
   411 	}
   411 	}