diff options
author | Henri Sara <henri.sara@gmail.com> | 2017-08-23 09:27:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-23 09:27:41 +0300 |
commit | 461d8ceda782bf2ee59e470f342d4f3740a1f382 (patch) | |
tree | e2c0aad273ee135959bbabe5fb3ac95e7ba3165f /server/src/main | |
parent | 3b2bea5236718fb13c9885141c0a4dddb323a868 (diff) | |
download | vaadin-framework-461d8ceda782bf2ee59e470f342d4f3740a1f382.tar.gz vaadin-framework-461d8ceda782bf2ee59e470f342d4f3740a1f382.zip |
Fix null check in BackEndDataProvider (#9858)
Fixes #9855
Diffstat (limited to 'server/src/main')
-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()); } |