Bug 90074 [search] Search view flashing while navigating workspace
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
}
		Match[] filteredMatches= new Match[count];
		
		int writeIndex= 0;
		for (int i= 0; i < matches.length; i++) {
			if (matches[i] != null)
				filteredMatches[writeIndex++]= matches[i];
		}
		
		return filteredMatches;
	}
	/*
	private boolean isFiltered(Match match) {
		MatchFilter[] filters= getMatchFilters();
		for (int j= 0; j < filters.length; j++) {
			if ((match instanceof JavaElementMatch) && filters[j].filters((JavaElementMatch) match))
				return true;
		}
		return false;
	}
	*/
	public void setInput(ISearchResult search, Object viewState) {
		ISearchResult oldInput= getInput();
		if (oldInput instanceof JavaSearchResult) {
			((JavaSearchResult)oldInput).setFilterListner(null);
		}
		JavaSearchResult input= (JavaSearchResult)search;
		updateFilterEnablement(input);
		refilterMatches(input);
		if (search instanceof JavaSearchResult) {