From 32c9fbe64c7dd0a9360e6a6c4f2936ae35f6a4a9 Mon Sep 17 00:00:00 2001 From: Mehdi Javan <32511762+mehdi-vaadin@users.noreply.github.com> Date: Wed, 30 Jan 2019 11:11:59 +0200 Subject: [PATCH] * Update since tags and fix code formatting (#11441) --- server/src/main/java/com/vaadin/ui/Grid.java | 4 ++-- .../datefield/DateFieldUnparsableDateStringTest.java | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java index 81f46f8d59..650bf7cab5 100644 --- a/server/src/main/java/com/vaadin/ui/Grid.java +++ b/server/src/main/java/com/vaadin/ui/Grid.java @@ -1030,7 +1030,7 @@ public class Grid extends AbstractListing implements HasComponents, * @param

* the presentation type * - * @since + * @since 8.7.0 */ protected

Column(ValueProvider valueProvider, ValueProvider presentationProvider, @@ -2994,7 +2994,7 @@ public class Grid extends AbstractListing implements HasComponents, * @param

* the column presentation type * - * @since + * @since 8.7.0 */ private Column createColumn(ValueProvider valueProvider, ValueProvider presentationProvider, diff --git a/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldUnparsableDateStringTest.java b/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldUnparsableDateStringTest.java index f4c3687c18..ab1bcb605b 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldUnparsableDateStringTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldUnparsableDateStringTest.java @@ -25,12 +25,14 @@ public class DateFieldUnparsableDateStringTest extends MultiBrowserTest { .findElement(By.className("v-textfield")); dateTextbox.sendKeys("0304", Keys.ENTER); findElement(By.tagName("body")).click(); - assertEquals("03.04."+ LocalDate.now().getYear(), dateTextbox.getAttribute("value")); + assertEquals("03.04." + LocalDate.now().getYear(), + dateTextbox.getAttribute("value")); dateTextbox.clear(); dateTextbox.sendKeys("0304", Keys.ENTER); findElement(By.tagName("body")).click(); - assertEquals("03.04."+ LocalDate.now().getYear(), dateTextbox.getAttribute("value")); + assertEquals("03.04." + LocalDate.now().getYear(), + dateTextbox.getAttribute("value")); } @Override -- 2.39.5