Browse Source

* Update since tags and fix code formatting (#11441)

tags/8.8.0.beta1
Mehdi Javan 5 years ago
parent
commit
32c9fbe64c
No account linked to committer's email address

+ 2
- 2
server/src/main/java/com/vaadin/ui/Grid.java View File

@@ -1030,7 +1030,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* @param <P>
* the presentation type
*
* @since
* @since 8.7.0
*/
protected <P> Column(ValueProvider<T, V> valueProvider,
ValueProvider<V, P> presentationProvider,
@@ -2994,7 +2994,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* @param <P>
* the column presentation type
*
* @since
* @since 8.7.0
*/
private <V, P> Column<T, V> createColumn(ValueProvider<T, V> valueProvider,
ValueProvider<V, P> presentationProvider,

+ 4
- 2
uitest/src/test/java/com/vaadin/tests/components/datefield/DateFieldUnparsableDateStringTest.java View File

@@ -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

Loading…
Cancel
Save