private void removeChildren(Entry<N> parent, List<Entry<N>> children) {
    if (children != null) {
      for (Entry<N> entry : children) {
        if (parent.loading == entry.node) {
          parent.loading = null;
        }
        else {
          remove(entry, getKey(entry.node));
        }
      }
    }
  }
private void removeChildren(Entry<N> parent, List<Entry<N>> children)