diff options
-rw-r--r-- | server/src/main/java/com/vaadin/ui/Slider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Slider.java b/server/src/main/java/com/vaadin/ui/Slider.java index 952e3cffd8..c488ecca52 100644 --- a/server/src/main/java/com/vaadin/ui/Slider.java +++ b/server/src/main/java/com/vaadin/ui/Slider.java @@ -298,7 +298,7 @@ public class Slider extends AbstractField<Double> { */ @Override public void setValue(Double value) { - Objects.requireNonNull(value, "color cannot be null"); + Objects.requireNonNull(value, "Value cannot be null"); super.setValue(value); } |