From e581a1814abbd4d6fbbf00530ab0acc42f3259c8 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Wed, 2 Mar 2011 07:14:23 +0000 Subject: Small fix in parameter validation in AbstractBeanContainer, in a method to be refactored svn changeset:17536/svn branch:6.6 --- src/com/vaadin/data/util/AbstractBeanContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/vaadin/data/util/AbstractBeanContainer.java b/src/com/vaadin/data/util/AbstractBeanContainer.java index faeda2ad4c..d0b8259ff3 100644 --- a/src/com/vaadin/data/util/AbstractBeanContainer.java +++ b/src/com/vaadin/data/util/AbstractBeanContainer.java @@ -626,7 +626,7 @@ public abstract class AbstractBeanContainer extends return null; } // Make sure that the item has not been added previously - if (allItemIds.contains(bean)) { + if (allItemIds.contains(itemId)) { return null; } -- cgit v1.2.3