]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #3617
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 28 Dec 2009 14:10:09 +0000 (14:10 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 28 Dec 2009 14:10:09 +0000 (14:10 +0000)
svn changeset:10559/svn branch:6.2

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

index c61b16bada779847264aeaa52fde16fa6435e7cb..f2e083171a4bd793c4ccbe6f490e73987f0b3ffa 100644 (file)
@@ -362,6 +362,9 @@ public class IndexedContainer implements Container.Indexed,
      * @see com.vaadin.data.Container#removeItem(java.lang.Object)
      */
     public boolean removeItem(Object itemId) {
+        if (itemId == null) {
+            return false;
+        }
 
         if (items.remove(itemId) == null) {
             return false;