Bug 16527 New API in ISearchResultView breaks old if null is used
Build 20020519 ISearchResultView.searchStarted(.....). Clients were passing a null parameter that now has to be cast to IActionGroupFactory or IContextMenuProvider to get rid of compile errors.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultCollector.java
getProgressMonitor().subTask(getFormattedMatchesString(fMatchCount));
	}
	
	/**
	 * @see IJavaSearchResultCollector#done().
	 */
	public void done() {
		if (!getProgressMonitor().isCanceled()) {
			String matchesString= getFormattedMatchesString(fMatchCount);
			getProgressMonitor().setTaskName(MessageFormat.format(DONE, new String[]{matchesString}));
		}
		if (fView != null) {
			if (fPotentialMatchCount > 0 && PotentialMatchDialog.shouldExplain())
				explainPotentialMatch(fPotentialMatchCount);
			fView.searchFinished();
		}
		
		fView= null;
		fMonitor= null;
	}
	private void explainPotentialMatch(final int potentialMatchCount) {
		
		final Shell shell= fView.getSite().getShell();
		shell.getDisplay().syncExec(new Runnable() {
			public void run() {
				PotentialMatchDialog.open(shell, potentialMatchCount);
			}
		});
	}