]> source.dussan.org Git - vaadin-framework.git/commit
[merge from 6.7] Use equals instead of == to compare item ids (#8712). Using == will...
authorAutomerge <automerge@vaadin.com>
Fri, 27 Apr 2012 11:39:21 +0000 (11:39 +0000)
committerAutomerge <automerge@vaadin.com>
Fri, 27 Apr 2012 11:39:21 +0000 (11:39 +0000)
commit48893c2135d66a0de2c24acec3e7fb659ec85f7f
tree1628b3c3b15f4a5b71d3c2262138ea8f6f0a4dac
parent120237fc9fd64ff2729c635f64806b634befaef0
[merge from 6.7] Use equals instead of == to compare item ids (#8712). Using == will fail at least with JPAContainer as the entity provider provides the id instances and it is not guaranteed that the same instance is returned every time (e.g. if using a Long the longs represent the same number but are not the same instance)

svn changeset:23655/svn branch:6.8
src/com/vaadin/ui/Table.java
tests/testbench/com/vaadin/tests/components/table/TableWithContainerRequiringEqualsForItemId.html [new file with mode: 0644]
tests/testbench/com/vaadin/tests/components/table/TableWithContainerRequiringEqualsForItemId.java [new file with mode: 0644]