Bug 48338 JavaSearchResultCollector should not create 'Searching' subtask [search]
Build 20031203 org.eclipse.jdt.internal.ui.search.JavaSearchResultCollector.aboutToStart() creates a subtask 'Searching'. This looks awkward as the search infrastructure is also printing this message.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultCollector.java
if (!getProgressMonitor().isCanceled()) {
			String matchesString= getFormattedMatchesString(fMatchCount);
			getProgressMonitor().setTaskName(MessageFormat.format(DONE, new String[]{matchesString}));
		}
		if (fView != null) {
			if (fPotentialMatchCount > 0)
				explainPotentialMatch(fPotentialMatchCount);
			fView.searchFinished();
		}
		
		fView= null;
		fMonitor= null;
	}
	private void explainPotentialMatch(final int potentialMatchCount) {
		
		final Shell shell= fView.getSite().getShell();
		final String title;
		if (potentialMatchCount == 1)
			title= new String(SearchMessages.getString("Search.potentialMatchDialog.title.foundPotentialMatch")); 
		else
			title= new String(SearchMessages.getFormattedString("Search.potentialMatchDialog.title.foundPotentialMatches", "" + potentialMatchCount)); 
		
		shell.getDisplay().syncExec(new Runnable() {
			public void run() {
				OptionalMessageDialog.open(
					POTENTIAL_MATCH_DIALOG_ID, 
					shell,
					title,
					null,
					SearchMessages.getString("Search.potentialMatchDialog.message"),