plugins/org.symbian.tools.tmw.debug/src/org/symbian/tools/tmw/debug/internal/launch/WidgetTabSelector.java
changeset 483 109da596fa9d
parent 471 06589bf52fa7
child 484 f5df819c1852
equal deleted inserted replaced
482:2973198ae2a9 483:109da596fa9d
    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