Bug 221768 [Viewers] Fix for bug 210747 causes NPE when parent is TreePath.EMPTY
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
if (expanded.containsKey(elementChildren[i])) {
						setExpanded(items[i], true);
					}
				}
			}
		}
		
		if (widget == tree && oldCnt == 0 && getItemCount(tree) != 0) {
			
			tree.setRedraw(false);
			tree.setRedraw(true);
		}
	}
	/**
	 * Return the items to be refreshed as part of an update. elementChildren are the
	 * new elements.
	 * @param widget
	 * @param elementChildren
	 * @since 3.4
	 * @return Item[]
	 * <strong>NOTE:</strong> This API is experimental and may be deleted
	 * before 3.4 is released.
	 */
	public Item[] getChildren(Widget widget,  Object[] elementChildren) {
		return getChildren(widget);
	}
	/**