Bug 79793 Deadlock in JavaWorkingSetUpdater
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/JavaWorkingSetUpdater.java
}
		return result;
	}
	
	/**
	 * {@inheritDoc}
	 */
	public boolean contains(IWorkingSet workingSet) {
		return fWorkingSets.contains(workingSet);
	}
	/**
	 * {@inheritDoc}
	 */
	public void dispose() {
		if (fListener != null) {
			JavaCore.removeElementChangedListener(fListener);
			fListener= null;
		}
	}
	/**
	 * {@inheritDoc}
	 */
	public void elementChanged(ElementChangedEvent event) {
		synchronized(fWorkingSets) {
			for (Iterator iter= fWorkingSets.iterator(); iter.hasNext();) {
				WorkingSetDelta workingSetDelta= new WorkingSetDelta((IWorkingSet)iter.next());
				processJavaDelta(workingSetDelta, event.getDelta());
				IResourceDelta[] resourceDeltas= event.getDelta().getResourceDeltas();
				if (resourceDeltas != null) {
					for (int i= 0; i < resourceDeltas.length; i++) {