Bug 171649 [Viewers] AbstractTreeViewerisExpandable(elementOrTreePath) is not called when using a ITreePathContentProvider
Build ID: 3.3M3 More information: see AbstractTreeViewer.java, line 1974, the content provider hasChildren() should not be called directly
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
refresh(element);
							newItem = false;
						}
						lastInsertion++;
					}
					
					if (lastInsertion == items.length) {
						index = -1;
					} else {
						index = lastInsertion + i; 
													
					}
				}
			}
			if (newItem) {
				createTreeItem(widget, element, index);
			}
		}
	}
	/**
	 * See if element is the data of one of the elements in items.
	 * 
	 * @param items
	 * @param element
	 * @return <code>true</code> if the element matches.
	 */
	private boolean itemExists(Item[] items, Object element) {
		if (usingElementMap()) {
			Widget[] existingItems = findItems(element);