Bug 172019 [Viewers] Plus sign doesn't disappear when using deferred content providers
3.3 M4 Use a tree viewer with a content provider using IDeferredWorkbenchAdapter and DeferredTreeContentManager. When fetchDeferredChildren is call and no elements are reported to the element collector the plus sign of the node doesn't disappear. This work without problems under Windows and Mac/OS (e.g. the plus sign disappears).
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
* @return int
	 */
	protected int indexForElement(Widget parent, Object element) {
		ViewerComparator comparator = getComparator();
		TreePath parentPath = internalGetSorterParentPath(parent, comparator);
		Item[] items = getChildren(parent);
		int count = items.length;
		if (comparator == null) {
			return count;
		}
		int min = 0, max = count - 1;
		while (min <= max) {
			int mid = (min + max) / 2;
			Object data = items[mid].getData();
			int compare = internalCompare(comparator, parentPath, data, element);
			if (compare == 0) {
				
				while (compare == 0) {
					++mid;
					if (mid >= count) {
						break;
					}
					data = items[mid].getData();
					compare = internalCompare(comparator, parentPath, data,
							element);
				}
				return mid;
			}
			if (compare < 0) {
				min = mid + 1;