summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2011-03-02 07:14:23 +0000
committerHenri Sara <henri.sara@itmill.com>2011-03-02 07:14:23 +0000
commite581a1814abbd4d6fbbf00530ab0acc42f3259c8 (patch)
treecf01266140c089724354d336a5c6d86fd259b7f1
parent735edca132b57be99af2a8e3575624b67c5ae32f (diff)
downloadvaadin-framework-e581a1814abbd4d6fbbf00530ab0acc42f3259c8.tar.gz
vaadin-framework-e581a1814abbd4d6fbbf00530ab0acc42f3259c8.zip
Small fix in parameter validation in AbstractBeanContainer, in a method to be refactored
svn changeset:17536/svn branch:6.6
-rw-r--r--src/com/vaadin/data/util/AbstractBeanContainer.java2
1 files changed, 1 insertions, 1 deletions
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<IDTYPE, BEANTYPE> extends
return null;
}
// Make sure that the item has not been added previously
- if (allItemIds.contains(bean)) {
+ if (allItemIds.contains(itemId)) {
return null;
}