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 /uitest | |
parent | ab18b6c58ef819dbc0049c4713cf06209d5abc47 (diff) | |
download | vaadin-framework-fa62729e243df9cea8fd3c93cf10a96b7f9c713c.tar.gz vaadin-framework-fa62729e243df9cea8fd3c93cf10a96b7f9c713c.zip |
Fix typos (#10158)
Diffstat (limited to 'uitest')
3 files changed, 9 insertions, 6 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/LayoutDemo.java b/uitest/src/main/java/com/vaadin/tests/LayoutDemo.java index 3437153d0b..d2f7fe37e2 100644 --- a/uitest/src/main/java/com/vaadin/tests/LayoutDemo.java +++ b/uitest/src/main/java/com/vaadin/tests/LayoutDemo.java @@ -138,7 +138,7 @@ public class LayoutDemo extends com.vaadin.server.LegacyApplication { layout.addComponent(new Label( "Panel is a container for other components, by default it draws a frame around it's " + "extremities and may have a caption to clarify the nature of the contained components' purpose." - + " Panel contains an layout where the actual contained components are added, " + + " Panel contains a layout where the actual contained components are added, " + "this layout may be switched on the fly.", ContentMode.HTML)); panel.setWidth("222px"); diff --git a/uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java b/uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java index 61886ecc5d..bb90aac7c7 100644 --- a/uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java +++ b/uitest/src/main/java/com/vaadin/tests/RandomLayoutStress.java @@ -178,21 +178,24 @@ public class RandomLayoutStress extends com.vaadin.server.LegacyApplication { panelLayout.addComponent(new Label( "Panel is a container for other components, by default it draws a frame around it's " + "extremities and may have a caption to clarify the nature of the contained components' purpose." - + " Panel contains an layout where the actual contained components are added, " + + " Panel contains a layout where the actual contained components are added, " + "this layout may be switched on the fly.")); ((Panel) result).setWidth("250px"); break; case 6: // Datefield result = new TestDateField(); - ((AbstractDateField<LocalDate, DateResolution>) result).setStyleName("calendar"); - ((AbstractDateField<LocalDate, DateResolution>) result).setValue(LocalDate.now()); + ((AbstractDateField<LocalDate, DateResolution>) result) + .setStyleName("calendar"); + ((AbstractDateField<LocalDate, DateResolution>) result) + .setValue(LocalDate.now()); result.setCaption("Calendar component " + caption); break; case 7: // Datefield result = new TestDateField(); - ((AbstractDateField<LocalDate, DateResolution>) result).setValue(LocalDate.now()); + ((AbstractDateField<LocalDate, DateResolution>) result) + .setValue(LocalDate.now()); result.setCaption("Calendar component " + caption); break; } diff --git a/uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/PureGWTTestApplication.java b/uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/PureGWTTestApplication.java index d1a410e7af..d1c91d36f5 100644 --- a/uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/PureGWTTestApplication.java +++ b/uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/PureGWTTestApplication.java @@ -29,7 +29,7 @@ import com.vaadin.client.ui.SubPartAware; /** * Pure GWT Test Application base for testing features of a single widget; - * provides a menu system and convenience method for adding items to it. + * provides a menu system and a convenience method for adding items to it. * * @since * @author Vaadin Ltd |