aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/data/provider/DataProviderTestBase.java
diff options
context:
space:
mode:
authorLeif Åstrand <legioth@gmail.com>2017-02-01 11:09:04 +0200
committerIlia Motornyi <elmot@vaadin.com>2017-02-01 11:09:04 +0200
commit07d56a9ca050d976dec4f598ed39471ae369c588 (patch)
tree167982734c11fa76b39cfad226b8f601174da17a /server/src/test/java/com/vaadin/data/provider/DataProviderTestBase.java
parent601de7e3ba5af6146ab0342bf3a924c9aa08a1b4 (diff)
downloadvaadin-framework-07d56a9ca050d976dec4f598ed39471ae369c588.tar.gz
vaadin-framework-07d56a9ca050d976dec4f598ed39471ae369c588.zip
Add a maven plugin for formatting according to Eclipse settings
Running formatter:format will format all files in a submodule using an embedded Eclipse compiler (based on Neon SR1) according to the regular formatting settings file.
Diffstat (limited to 'server/src/test/java/com/vaadin/data/provider/DataProviderTestBase.java')
-rw-r--r--server/src/test/java/com/vaadin/data/provider/DataProviderTestBase.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/test/java/com/vaadin/data/provider/DataProviderTestBase.java b/server/src/test/java/com/vaadin/data/provider/DataProviderTestBase.java
index 84f011abf8..2fea57ae80 100644
--- a/server/src/test/java/com/vaadin/data/provider/DataProviderTestBase.java
+++ b/server/src/test/java/com/vaadin/data/provider/DataProviderTestBase.java
@@ -82,9 +82,8 @@ public abstract class DataProviderTestBase<D extends DataProvider<StrBean, Seria
.thenComparing(StrBean::getId);
List<StrBean> list = dataProvider
- .fetch(createQuery(
- QuerySortOrder.asc("value").thenAsc("randomNumber")
- .thenAsc("id").build(), comp))
+ .fetch(createQuery(QuerySortOrder.asc("value")
+ .thenAsc("randomNumber").thenAsc("id").build(), comp))
.collect(Collectors.toList());
// First value in data is { Xyz, 10, 100 } which should be last in list