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
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.actions.ActionGroup;
import org.eclipse.search.ui.IActionGroupFactory;
import org.eclipse.search.ui.ISearchResultView;
import org.eclipse.search.ui.SearchUI;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.search.IJavaSearchResultCollector;
import org.eclipse.jdt.ui.JavaUI;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.dialogs.OptionalMessageDialog;
public class JavaSearchResultCollector implements IJavaSearchResultCollector {
	private static final String MATCH= SearchMessages.getString("SearchResultCollector.match"); 
	private static final String MATCHES= SearchMessages.getString("SearchResultCollector.matches"); 
	private static final String DONE= SearchMessages.getString("SearchResultCollector.done"); 
	private static final String SEARCHING= SearchMessages.getString("SearchResultCollector.searching"); 
	private static final Boolean POTENTIAL_MATCH_VALUE= new Boolean(true);
	private static final String POTENTIAL_MATCH_DIALOG_ID= "Search.PotentialMatchDialog"; 
	
	private IProgressMonitor fMonitor;
	private ISearchResultView fView;
	private JavaSearchOperation fOperation;
	private int fMatchCount= 0;
	private int fPotentialMatchCount= 0;
	private long fLastUpdateTime;
	private Integer[] fMessageFormatArgs= new Integer[1];
	
	private class ActionGroupFactory implements IActionGroupFactory {