From fa62729e243df9cea8fd3c93cf10a96b7f9c713c Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Tue, 10 Oct 2017 13:14:59 +0200 Subject: Fix typos (#10158) --- server/src/main/java/com/vaadin/data/BinderValidationStatus.java | 6 ++---- server/src/main/java/com/vaadin/event/EventRouter.java | 2 +- server/src/main/java/com/vaadin/server/VariableOwner.java | 4 ++-- server/src/main/java/com/vaadin/ui/Button.java | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) (limited to 'server/src') diff --git a/server/src/main/java/com/vaadin/data/BinderValidationStatus.java b/server/src/main/java/com/vaadin/data/BinderValidationStatus.java index 49a3102636..2a5c7d5585 100644 --- a/server/src/main/java/com/vaadin/data/BinderValidationStatus.java +++ b/server/src/main/java/com/vaadin/data/BinderValidationStatus.java @@ -137,10 +137,8 @@ public class BinderValidationStatus implements Serializable { * @return a list of all validation errors */ public List getValidationErrors() { - List errors = - getFieldValidationErrors().stream() - .map(s -> s.getResult().get()) - .collect(Collectors.toList()); + List errors = getFieldValidationErrors().stream() + .map(s -> s.getResult().get()).collect(Collectors.toList()); errors.addAll(getBeanValidationErrors()); return errors; } diff --git a/server/src/main/java/com/vaadin/event/EventRouter.java b/server/src/main/java/com/vaadin/event/EventRouter.java index 9b2ac0c187..61beae7631 100644 --- a/server/src/main/java/com/vaadin/event/EventRouter.java +++ b/server/src/main/java/com/vaadin/event/EventRouter.java @@ -164,7 +164,7 @@ public class EventRouter implements MethodEventSource { } /* - * Removes the event listener methods matching the given given paramaters. + * Removes the event listener methods matching the given given parameters. * Don't add a JavaDoc comment here, we use the default documentation from * implemented interface. */ diff --git a/server/src/main/java/com/vaadin/server/VariableOwner.java b/server/src/main/java/com/vaadin/server/VariableOwner.java index d92b353cd4..79147034c8 100644 --- a/server/src/main/java/com/vaadin/server/VariableOwner.java +++ b/server/src/main/java/com/vaadin/server/VariableOwner.java @@ -33,8 +33,8 @@ import com.vaadin.ui.LegacyComponent; * @author Vaadin Ltd. * @since 3.0 * @deprecated As of 7.0. Only provided to ease porting of Vaadin 6 components. - * Do not implement this directly, implement {@link LegacyComponent} - * . + * Do not implement this directly, implement + * {@link LegacyComponent}. */ @Deprecated public interface VariableOwner extends Serializable { diff --git a/server/src/main/java/com/vaadin/ui/Button.java b/server/src/main/java/com/vaadin/ui/Button.java index c759a3a440..ef6d0c62dd 100644 --- a/server/src/main/java/com/vaadin/ui/Button.java +++ b/server/src/main/java/com/vaadin/ui/Button.java @@ -519,7 +519,7 @@ public class Button extends AbstractFocusable * Sets the component's icon and alt text. *

* An alt text is shown when an image could not be loaded, and read by - * assisitve devices. + * assistive devices. * * @param icon * the icon to be shown with the component's caption. -- cgit v1.2.3