Bug 65711 [Problems] Problems View takes too long to show
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
}
		
		if (unfiltered == null) {
			unfiltered = Collections.EMPTY_LIST;
		}
		
		return (ConcreteMarker[])unfiltered.toArray(new ConcreteMarker[unfiltered.size()]);		
	}
	
	IResource[] getResourcesInWorkingSet() {
		if (workingSet == null) {
			return new IResource[0];
		}
		
		IAdaptable[] elements = workingSet.getElements();
		List result = new ArrayList(elements.length);
		
		for (int idx = 0; idx < elements.length; idx++) {
			IResource next = (IResource)elements[idx].getAdapter(IResource.class);
			
			if (next != null) {
				result.add(next);
			}
		}
		
		return (IResource[])result.toArray(new IResource[result.size()]);
	}
	
	/**
	 * Returns a set of strings representing the full pathnames to every resource directly