Bug 139528 [Browser] Error message should be improved
I got the following error in my log. The message is probably allright except for the trailing null. eclipse.buildId=I20060428-1315 java.fullversion=J2RE 1.4.2 IBM build cxia32142-20050609 (JIT enabled: jitc) BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -debug -consolelog Warning Mon May 01 12:39:50 EDT 2006 Internal browser is not available: null
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserUtil.java
try {
							File f = new File(roots[k], location);
							if (!paths.contains(f.getAbsolutePath()
									.toLowerCase())) {
								if (f.exists()) {
									BrowserDescriptor browser = new BrowserDescriptor();
									browser.name = browsers[i].getName();
									browser.location = f.getAbsolutePath();
									browser.parameters = browsers[i]
											.getParameters();
									list.add(browser);
									j += size2;
								}
							}
						} catch (Exception e) {
							
						}
					}
				}
			}
		}
	}
	private static File[] getUsableDrives(File[] roots) {
		if (!Platform.getOS().equals(Platform.OS_WIN32))
			return roots;
		ArrayList list = new ArrayList();
		for (int i = 0; i < roots.length; i++) {
			String path = roots[i].getAbsolutePath();
			if (path != null
					&& (path.toLowerCase().startsWith("a:") || path.toLowerCase().startsWith("b:")))