debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/ConnectToDeviceDialog.java
changeset 981 77bc8173ce83
parent 980 2856f9bc4ddf
child 983 8b4ee73c530c
equal deleted inserted replaced
980:2856f9bc4ddf 981:77bc8173ce83
   194 		if (status.isOK()) {
   194 		if (status.isOK()) {
   195 			IConnection connection = data.getConnection();
   195 			IConnection connection = data.getConnection();
   196 			if (connection != null) {
   196 			if (connection != null) {
   197 				IConnectedService connectedService = null;
   197 				IConnectedService connectedService = null;
   198 				Collection<IConnectedService> services = manager.getConnectedServices(connection);
   198 				Collection<IConnectedService> services = manager.getConnectedServices(connection);
   199 				if (services != null) {
   199 				for (IConnectedService service : services) {
   200 					for (IConnectedService service : services) {
   200 					if (service != null && service.getService().getIdentifier().equals(data.getService().getIdentifier())) {
   201 						if (service != null && service.getService().getIdentifier().equals(data.getService().getIdentifier())) {
   201 						connectedService = service;
   202 							connectedService = service;
       
   203 						}
       
   204 					}
   202 					}
   205 				}
   203 				}
   206 				
   204 				
   207 				if (connectedService == null) {
   205 				if (connectedService == null) {
   208 					status = error(MessageFormat.format(
   206 					status = error(MessageFormat.format(