diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java b/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java index d2cb5c8c44..89f629e3ed 100644 --- a/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java +++ b/server/src/main/java/com/vaadin/data/provider/BackEndDataProvider.java @@ -58,7 +58,7 @@ public interface BackEndDataProvider<T, F> extends DataProvider<T, F> { * if builder is null */ default void setSortOrders(QuerySortOrderBuilder builder) { - Objects.requireNonNull("Sort builder cannot be null."); + Objects.requireNonNull(builder, "Sort builder cannot be null."); setSortOrders(builder.build()); } |