From bac31cfb7cb71b90d497eb6177c3862d2d861950 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Tue, 5 Sep 2017 11:05:20 +0300 Subject: [PATCH] Update Binder isValid() javadoc (#9930) --- server/src/main/java/com/vaadin/data/Binder.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/com/vaadin/data/Binder.java b/server/src/main/java/com/vaadin/data/Binder.java index d65e778f9f..64f389cc91 100644 --- a/server/src/main/java/com/vaadin/data/Binder.java +++ b/server/src/main/java/com/vaadin/data/Binder.java @@ -1611,7 +1611,10 @@ public class Binder implements Serializable { * failed. *

* Note: Calling this method will not trigger status change events, - * unlike {@link #validate()}. + * unlike {@link #validate()} and will not modify the UI. To also update + * error indicators on fields, use {@code validate().isOk()}. + * + * @see #validate() * * @return whether this binder is in a valid state * @throws IllegalStateException -- 2.39.5