Bug 180758 [IDE] Deleting a project but not the contents asks if you want to delete read-only files
I have noticed that in 3.3M6, if I delete a project that has read-only files in it, it will prompt if I want to delete the files even if I select "Do not delete contents". The files are not actually deleted, but the error dialog should not be presented to the user since the files are not actually being deleted. I don't remember seeing this in 3.3M4 or earlier.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/undo/AbstractResourcesOperation.java
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.ide.undo.AbstractWorkspaceOperation#setTargetResources(org.eclipse.core.resources.IResource[])
	 */
	protected void setTargetResources(IResource[] resources) {
		
		
		List subResources = new ArrayList();
		for (int i = 0; i < resources.length; i++) {
			IResource subResource = resources[i];
			for (int j = 0; j < resources.length; j++) {
				IResource superResource = resources[j];
				if (isDescendantOf(subResource, superResource))
					subResources.add(subResource);
			}
		}
		IResource[] nestedResourcesRemoved = new IResource[resources.length
				- subResources.size()];
		int j = 0;
		for (int i = 0; i < resources.length; i++) {
			if (!subResources.contains(resources[i])) {
				nestedResourcesRemoved[j] = resources[i];
				j++;
			}
		}
		super.setTargetResources(nestedResourcesRemoved);
	}
}