diff options
author | John Ahlroos <john@vaadin.com> | 2013-03-01 10:06:06 +0200 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2013-03-01 10:06:06 +0200 |
commit | efc8449d6f78050fc99a55f10cd0a1787b08b80e (patch) | |
tree | 0d24be07a18807bd9301d4f51a865712e29d4b65 | |
parent | a550c93b0b7242e02d5957dc60912b76ce57532e (diff) | |
download | vaadin-framework-efc8449d6f78050fc99a55f10cd0a1787b08b80e.tar.gz vaadin-framework-efc8449d6f78050fc99a55f10cd0a1787b08b80e.zip |
Reverted Tree memory leak fix since it is breaking Tree filtering in a way that only can be fixed by introducing new API to Filterable interface and this cannot be done in a maintenance release. #11053
Change-Id: I7967a4dc57ad2d06880917d4756107c3838d8491
-rw-r--r-- | server/src/com/vaadin/ui/Tree.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/src/com/vaadin/ui/Tree.java b/server/src/com/vaadin/ui/Tree.java index 2c16a36a6c..a6dbea51ba 100644 --- a/server/src/com/vaadin/ui/Tree.java +++ b/server/src/com/vaadin/ui/Tree.java @@ -1687,16 +1687,6 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, return itemDescriptionGenerator; } - @Override - public void containerItemSetChange( - com.vaadin.data.Container.ItemSetChangeEvent event) { - - // Ensure removed items are cleaned up from expanded list - cleanupExpandedItems(); - - super.containerItemSetChange(event); - } - private void cleanupExpandedItems() { Set<Object> removedItemIds = new HashSet<Object>(); for (Object expandedItemId : expanded) { |