diff options
Diffstat (limited to 'server/src/test/java/com/vaadin/data/BinderConverterValidatorTest.java')
-rw-r--r-- | server/src/test/java/com/vaadin/data/BinderConverterValidatorTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/src/test/java/com/vaadin/data/BinderConverterValidatorTest.java b/server/src/test/java/com/vaadin/data/BinderConverterValidatorTest.java index bc46395d08..64bde4d772 100644 --- a/server/src/test/java/com/vaadin/data/BinderConverterValidatorTest.java +++ b/server/src/test/java/com/vaadin/data/BinderConverterValidatorTest.java @@ -97,12 +97,13 @@ public class BinderConverterValidatorTest binding.bind(Person::getFirstName, Person::setFirstName); BinderValidationStatus<Person> status = binder.validate(); - List<BindingValidationStatus<?>> errors = status.getFieldValidationErrors(); + List<BindingValidationStatus<?>> errors = status + .getFieldValidationErrors(); assertEquals(1, errors.size()); - BindingValidationStatus<?> validationStatus = errors.stream().findFirst() - .get(); + BindingValidationStatus<?> validationStatus = errors.stream() + .findFirst().get(); String msg = validationStatus.getMessage().get(); assertEquals(msg1, msg); |