diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-10 13:14:59 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-10-10 14:14:59 +0300 |
commit | fa62729e243df9cea8fd3c93cf10a96b7f9c713c (patch) | |
tree | 6f905e6f8c50048805edd6444f261e718c9576ab /server/src | |
parent | ab18b6c58ef819dbc0049c4713cf06209d5abc47 (diff) | |
download | vaadin-framework-fa62729e243df9cea8fd3c93cf10a96b7f9c713c.tar.gz vaadin-framework-fa62729e243df9cea8fd3c93cf10a96b7f9c713c.zip |
Fix typos (#10158)
Diffstat (limited to 'server/src')
4 files changed, 6 insertions, 8 deletions
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<BEAN> implements Serializable { * @return a list of all validation errors */ public List<ValidationResult> getValidationErrors() { - List<ValidationResult> errors = - getFieldValidationErrors().stream() - .map(s -> s.getResult().get()) - .collect(Collectors.toList()); + List<ValidationResult> 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. * <p> * 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. |