debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/ConnectToDeviceDialog.java
equal
deleted
inserted
replaced
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( |