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
updateItem(item, newElement);
                }
            }
        }
        
        if (min < elementChildren.length) {
            for (int i = min; i < elementChildren.length; ++i) {
                createTreeItem(widget, elementChildren[i], i);
            }
            
            
            
            if (expanded.size() > 0) {
                
                items = getChildren(widget);
                for (int i = min; i < elementChildren.length; ++i) {
                    
                    
                    
                    
                    
                    
                    if (expanded.containsKey(elementChildren[i])) {
                        setExpanded(items[i], true);
                    }
                }
            }
        }
        
        if (widget == tree && oldCnt == 0 && getItemCount(tree) != 0) {