debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/ConnectToDeviceDialog.java
changeset 980 2856f9bc4ddf
parent 979 1dc37cfc99cd
child 981 77bc8173ce83
equal deleted inserted replaced
979:1dc37cfc99cd 980:2856f9bc4ddf
   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 				for (IConnectedService service : services) {
   199 				if (services != null) {
   200 					if (service != null && service.getService().getIdentifier().equals(data.getService().getIdentifier())) {
   200 					for (IConnectedService service : services) {
   201 						connectedService = service;
   201 						if (service != null && service.getService().getIdentifier().equals(data.getService().getIdentifier())) {
       
   202 							connectedService = service;
       
   203 						}
   202 					}
   204 					}
   203 				}
   205 				}
   204 				
   206 				
   205 				if (connectedService == null) {
   207 				if (connectedService == null) {
   206 					status = error(MessageFormat.format(
   208 					status = error(MessageFormat.format(