aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/data/validator
diff options
context:
space:
mode:
authorDenis <denis@vaadin.com>2017-01-25 16:34:02 +0200
committerIlia Motornyi <elmot@vaadin.com>2017-01-25 16:34:02 +0200
commitfb2ceee075473e10eb94f0c49bc5f4b36836174d (patch)
treeb3a8c02eb1d45958f54b58f311ddc91e1d50c774 /server/src/main/java/com/vaadin/data/validator
parent0b67c1c9c93d6db3dabf52fc4e7d43f8edabb31f (diff)
downloadvaadin-framework-fb2ceee075473e10eb94f0c49bc5f4b36836174d.tar.gz
vaadin-framework-fb2ceee075473e10eb94f0c49bc5f4b36836174d.zip
Extract Bean validation logic from Binder to BeanValidationBinder
Fixes #8253
Diffstat (limited to 'server/src/main/java/com/vaadin/data/validator')
-rw-r--r--server/src/main/java/com/vaadin/data/validator/BeanValidator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/data/validator/BeanValidator.java b/server/src/main/java/com/vaadin/data/validator/BeanValidator.java
index 3d7baa05a0..097b47cb0f 100644
--- a/server/src/main/java/com/vaadin/data/validator/BeanValidator.java
+++ b/server/src/main/java/com/vaadin/data/validator/BeanValidator.java
@@ -91,7 +91,7 @@ public class BeanValidator implements Validator<Object> {
if (!BeanUtil.checkBeanValidationAvailable()) {
throw new IllegalStateException("Cannot create a "
+ BeanValidator.class.getSimpleName()
- + ": a JSR-303 Bean Validation implementation not found on theclasspath");
+ + ": a JSR-303 Bean Validation implementation not found on the classpath");
}
Objects.requireNonNull(beanType, "bean class cannot be null");
Objects.requireNonNull(propertyName, "property name cannot be null");