Bug 156883 [Viewers] enhancements to ILazyTreeContentProvider
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
lastInsertion, element, parentPath);
				
				
				if (lastInsertion == items.length) {
					index = -1;
				} else {
					while (lastInsertion < items.length
							&& internalCompare(comparator, parentPath, element,
									items[lastInsertion].getData()) == 0) {
						
						
						
						
						if (items[lastInsertion].getData().equals(element)) {
							
							refresh(element);
							newItem = false;
						}
						lastInsertion++;
					}
					
					if (lastInsertion == items.length) {
						index = -1;
					} else {
						index = lastInsertion + i; 
													
					}
				}
			}
			if (newItem) {