Bug 258810 [Markers] Markers for the entire workspace show up when working set empty
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
}
	/**
	 * Get the resources in working set.
	 * 
	 * @param workingSet
	 * @return IResource[]
	 */
	private IResource[] getResourcesInWorkingSet(IWorkingSet workingSet) {
		if (workingSet == null)
			return new IResource[0];
		if (workingSet.isEmpty())
			return new IResource[] { ResourcesPlugin.getWorkspace().getRoot() };
		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()]);
	}
	/**
	 * Return the type for typeId.
	 * @param typeId
	 * @return {@link MarkerType} or <code>null</code> if
	 * it is not found.
	 */
	MarkerType getType(String typeId) {