Bug 139385 [Viewers] Viewer#setComparator(ViewerComparator) has no effect
Version: 3.2.0 Build id: I20060428-1315 Setting a Comparator in setComparator is actually not triggering any sorting in my viewer. It works when I call setComparator(ViewerSorter). Any ideas? Ben
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
}
            }
        }
	}
    
    /**
     * Removes the given elements from this viewer, whenever those elements appear as children
     * of the given parent. 
     * 
     * @param elements
     *           the elements to remove
     * @since 3.1
     */
    protected void internalRemove(Object parent, Object[] elements) {
    	
    	CustomHashtable toRemove = new CustomHashtable(getComparer());
    	for (int i = 0; i < elements.length; i++) {
			toRemove.put(elements[i], elements[i]);
		}
        
        
        CustomHashtable parentItems = new CustomHashtable(5);
        
    	Widget[] parentItemArray = findItems(parent);
        for (int i = 0; i < parentItemArray.length; i++) {
        	Widget parentItem = parentItemArray[i];
        	
        	if (parentItem instanceof Item) {
        		parentItems.put(parentItem, parentItem);
        	}