Bug 141192 [Viewers] Javadoc change about multiple equal elements in StructuredViewer and AbstractTreeViewer
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
if (tis != null) {
                    for (int i = 0; i < tis.length; i++) {
                        if (tis[i].getData() != null) {
                            disassociate(tis[i]);
                            Assert.isTrue(tis[i].getData() == null,
                                    "Second or later child is non -null");
                        }
                        tis[i].dispose();
                    }
                }
                Object d = widget.getData();
                if (d != null) {
                    Object parentElement = d;
                    Object[] children;
                    if (isTreePathContentProvider() && widget instanceof Item) {
                    	TreePath path = getTreePathFromItem((Item)widget);
                    	children = getSortedChildren(path);
                    } else {
                    	children = getSortedChildren(parentElement);
                    }
                    for (int i = 0; i < children.length; i++) {
                        createTreeItem(widget, children[i], -1);
                    }
                }
            }
        });
    }
    /**
     * Creates a single item for the given parent and synchronizes it with the
     * given element.