aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-09-05 11:05:20 +0300
committerGitHub <noreply@github.com>2017-09-05 11:05:20 +0300
commitbac31cfb7cb71b90d497eb6177c3862d2d861950 (patch)
treeaab94701b12335c8aba888cc520304d6aa809446
parent77d66552741b5bd80c533902a8728f8cb7918c7f (diff)
downloadvaadin-framework-bac31cfb7cb71b90d497eb6177c3862d2d861950.tar.gz
vaadin-framework-bac31cfb7cb71b90d497eb6177c3862d2d861950.zip
Update Binder isValid() javadoc (#9930)
-rw-r--r--server/src/main/java/com/vaadin/data/Binder.java5
1 files changed, 4 insertions, 1 deletions
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<BEAN> implements Serializable {
* failed.
* <p>
* <b>Note:</b> 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