aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/data
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2010-03-16 08:30:12 +0000
committerHenri Sara <henri.sara@itmill.com>2010-03-16 08:30:12 +0000
commit4081ed4d0e69e94edbbe4593f4839a009bc69e2c (patch)
tree99f5a6d26abd5ebb7e4cdfc733577f222f82a559 /src/com/vaadin/data
parent9abe5d77bf5a14c0ca8aaed941cd22fd3053742d (diff)
downloadvaadin-framework-4081ed4d0e69e94edbbe4593f4839a009bc69e2c.tar.gz
vaadin-framework-4081ed4d0e69e94edbbe4593f4839a009bc69e2c.zip
#4350 ContainerHierarchicalWrapper recursive root removal
svn changeset:11903/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/data')
-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);