aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/data/HasItemsTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Enable Maven plugin for Eclipse formatting (#10829)Ilia Motornyi2018-04-191-6/+4
|
* HasItems.setItems(T... items) should allow edits (#10290)Pekka Hyvönen2017-11-061-0/+66
* HasItems.setItems(T... items) should allow edits Arrays.asList() creates a immutable Arrays.ArrayList, preventing users from doing dataProvider.getItems() and updating the returned collection. This makes it impossible to keep the same data provider, update it and keep the filters & sorting, and then just call dataProvider.refreshAll() to get changes visible. We should not require users to create a new data provider in this case. This is the same for DataProvider.ofItems(T... items) * fix missing whitespace from test error message