Bug 264650 [Viewers] [JFace] Java doc for TreeSelection is wrong
Build ID: I20090126-1800 The default constructor of TreeSelection says "Note that TreeSelection.EMPTY is not equals() to StructuredViewer.EMPTY". But TreeSelection.EMPTY.equals(StructuredViewer.EMPTY) == true
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeSelection.java
* 
	 * @since 3.2
	 */
	public IElementComparer getElementComparer() {
		if (element2TreePaths == null)
			return null;
		return element2TreePaths.getComparer();
	}
	
	public boolean equals(Object obj) {
		if (!(obj instanceof TreeSelection)) {
			
			return super.equals(obj);
		}
		TreeSelection selection = (TreeSelection) obj;
		int size = getPaths().length;
		if (selection.getPaths().length == size) {
			IElementComparer comparerOrNull = (getElementComparer() == selection
					.getElementComparer()) ? getElementComparer() : null;
			if (size > 0) {
				for (int i = 0; i < paths.length; i++) {
					if (!paths[i].equals(selection.paths[i], comparerOrNull)) {
						return false;
					}
				}
			}
			return true;
		}
		return false;
	}