diff options
author | Henri Sara <henri.sara@itmill.com> | 2011-03-02 07:14:23 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2011-03-02 07:14:23 +0000 |
commit | e581a1814abbd4d6fbbf00530ab0acc42f3259c8 (patch) | |
tree | cf01266140c089724354d336a5c6d86fd259b7f1 | |
parent | 735edca132b57be99af2a8e3575624b67c5ae32f (diff) | |
download | vaadin-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.java | 2 |
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; } |