Bug 110998 [Problems] Remove the working set selection and switch to using global working sets
M2 We need to remove the working sets option in the filter and switch to using the current list of working sets. We should move this to a preference that says only "Use Working Sets"
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerSupportRegistry.java
}
			if (objects[i] instanceof String) {
				removeValues(objects[i], categories);
			}
			if (objects[i] instanceof TableSorter) {
				removeValues(objects[i], hierarchyOrders);
			}
		}
	}
	/**
	 * Remove the value from all of the collection sets in cache. If the
	 * collection is empty remove the key as well.
	 * 
	 * @param value
	 * @param cache
	 */
	private void removeValues(Object value, HashMap cache) {
		Collection keysToRemove = new ArrayList();
		Iterator keys = cache.keySet().iterator();
		while (keys.hasNext()) {
			String key = (String) keys.next();
			Object next = cache.get(key);
			if (next instanceof Collection) {
				Collection collection = (Collection) next;
				if (collection.contains(value)) {
					collection.remove(value);
					if (collection.isEmpty())
						keysToRemove.add(key);
					break;
				}