diff options
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java b/server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java index cba5f5b068..6f7037d732 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java +++ b/server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java @@ -183,6 +183,7 @@ public abstract class AbstractLocalDateTimeField @Override protected LocalDateTime toType(TemporalAccessor temporalAccessor) { - return temporalAccessor == null? null : LocalDateTime.from(temporalAccessor); + return temporalAccessor == null ? null + : LocalDateTime.from(temporalAccessor); } } |