diff options
author | Artur Signell <artur.signell@itmill.com> | 2010-03-02 13:55:37 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2010-03-02 13:55:37 +0000 |
commit | 503da3311c73ee52a7af049517dbb59f43169998 (patch) | |
tree | 166cb5d5d8b646004825edde212fc7cacca6bd7d /src/com/vaadin/data/util | |
parent | 44ca84275d8e3858dfc605e02852c2c670d99cfc (diff) | |
download | vaadin-framework-503da3311c73ee52a7af049517dbb59f43169998.tar.gz vaadin-framework-503da3311c73ee52a7af049517dbb59f43169998.zip |
#4106 - BeanItemContainer slow in some instances
svn changeset:11592/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/data/util')
-rw-r--r-- | src/com/vaadin/data/util/BeanItemContainer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/vaadin/data/util/BeanItemContainer.java b/src/com/vaadin/data/util/BeanItemContainer.java index 0efbdd3416..6510229d5a 100644 --- a/src/com/vaadin/data/util/BeanItemContainer.java +++ b/src/com/vaadin/data/util/BeanItemContainer.java @@ -182,11 +182,11 @@ public class BeanItemContainer<BT> implements Indexed, Sortable, Filterable, return beanItem; } - /** * Adds the bean to all internal data structures at the given position. * Fails if the bean is already in the container or is not assignable to the - * correct type. Returns the new BeanItem if the bean was added successfully. + * correct type. Returns the new BeanItem if the bean was added + * successfully. * * <p> * Caller should call {@link #filterAll()} after calling this method to @@ -225,6 +225,7 @@ public class BeanItemContainer<BT> implements Indexed, Sortable, Filterable, return beanItem; } + @SuppressWarnings("unchecked") public BT getIdByIndex(int index) { return filteredItems.get(index); |