aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/vaadin/data/util/ContainerHierarchicalWrapper.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java b/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
index 03be24b669..668a3fc5dd 100644
--- a/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
+++ b/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
@@ -189,9 +189,7 @@ public class ContainerHierarchicalWrapper implements Container.Hierarchical,
}
}
- if (isRoot(itemId)) {
- roots.remove(itemId);
- }
+ roots.remove(itemId);
final Object p = parent.get(itemId);
if (p != null) {
final LinkedList<Object> c = children.get(p);