]> source.dussan.org Git - vaadin-framework.git/commitdiff
#4106 - BeanItemContainer slow in some instances
authorArtur Signell <artur.signell@itmill.com>
Tue, 2 Mar 2010 13:55:37 +0000 (13:55 +0000)
committerArtur Signell <artur.signell@itmill.com>
Tue, 2 Mar 2010 13:55:37 +0000 (13:55 +0000)
svn changeset:11592/svn branch:6.3

src/com/vaadin/data/util/BeanItemContainer.java

index 0efbdd34169ba6aed44143b9a8b097535e2ae917..6510229d5a82a3fff01009b9a67d2a1199835bc6 100644 (file)
@@ -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);