 if (index == children.length && index>0) { children[index-1].updateExpandGridColumn(); }   if (parent instanceof dojo.widget.Tree && index == 0 && children.length>0) { children[0].updateExpandGrid(); } 
 if (index == children.length && index>0) { children[index-1].updateExpandGridColumn(); }   if (parent instanceof dojo.widget.Tree && index == 0 && children.length>0) { children[0].updateExpandGrid(); } 
  doRemoveNode: function(child) {    if (!child.parent) return;    var parent = child.parent;    var children = parent.children;    var index = child.getParentIndex();    if (index < 0) {      dojo.raise("Couldn't find node "+child+" for removal");    }    children.splice(index,1);    dojo.html.removeNode(child.domNode);    if (parent.children.length == 0 && !parent.isTree) {      parent.containerNode.style.display = "none";    }    // if WAS last node (children.length decreased already) and has prevSibling    if (index == children.length && index>0) {      children[index-1].updateExpandGridColumn();    }    // if it WAS first node in WHOLE TREE -    // update link up of its former lower neighbour(if exists still)    if (parent instanceof dojo.widget.Tree && index == 0 && children.length>0) {      children[0].updateExpandGrid();    }    //parent.updateIconTree();    child.parent = child.tree = null;    return child;  },
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js