plugins/org.symbian.tools.tmw.debug/src/org/symbian/tools/tmw/debug/internal/launch/WidgetTabSelector.java
equal
deleted
inserted
replaced
41 for (int i = 0; i < 5; i++) { |
41 for (int i = 0; i < 5; i++) { |
42 List<? extends TabConnector> tabs = tabFetcher.getTabs(); |
42 List<? extends TabConnector> tabs = tabFetcher.getTabs(); |
43 for (TabConnector tabConnector : tabs) { |
43 for (TabConnector tabConnector : tabs) { |
44 String url = tabConnector.getUrl(); |
44 String url = tabConnector.getUrl(); |
45 try { |
45 try { |
46 if (uri.toURL().equals(new URL(url))) { |
46 if (uri.toURL().toExternalForm().equals(new URL(url).toExternalForm())) { |
47 connector = tabConnector; |
47 connector = tabConnector; |
48 return tabConnector; |
48 return tabConnector; |
49 } |
49 } |
50 } catch (MalformedURLException e) { |
50 } catch (MalformedURLException e) { |
51 // Ignore - fails because of "chrome" protocol, we should ignore these tabs anyways |
51 // Ignore - fails because of "chrome" protocol, we should ignore these tabs anyways |