Changeset 3c2b32e3 in vaadin


Ignore:
Timestamp:
Dec 7, 2011 11:49:32 PM (3 years ago)
Author:
Artur Signell <artur.signell@…>
Branches:
master, 7.0, 7.1, 7.2, 7.3, 7.4
Children:
3b7884d5
Parents:
6a12737b
Message:

#6603 AbstractBeanContainer.addAll does not ensure resolved itemIds are not null

svn changeset:22308/svn branch:6.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/com/vaadin/data/util/AbstractBeanContainer.java

    reed25221 r3c2b32e3  
    638638            } 
    639639            IDTYPE itemId = resolveBeanId(bean); 
     640            if (itemId == null) { 
     641                throw new IllegalArgumentException( 
     642                        "Resolved identifier for a bean must not be null"); 
     643            } 
     644 
    640645            if (internalAddItemAtEnd(itemId, createBeanItem(bean), false) != null) { 
    641646                modified = true; 
Note: See TracChangeset for help on using the changeset viewer.