diff options
author | Henri Sara <henri.sara@itmill.com> | 2010-03-16 08:30:12 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2010-03-16 08:30:12 +0000 |
commit | 4081ed4d0e69e94edbbe4593f4839a009bc69e2c (patch) | |
tree | 99f5a6d26abd5ebb7e4cdfc733577f222f82a559 /src/com/vaadin/data | |
parent | 9abe5d77bf5a14c0ca8aaed941cd22fd3053742d (diff) | |
download | vaadin-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.java | 4 |
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); |