aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/AbstractDateField.java
diff options
context:
space:
mode:
authorIlia Motornyi <elmot@vaadin.com>2018-06-12 10:06:41 +0300
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2018-06-12 10:06:41 +0300
commit16335d3abad58420013e261d4fdc57ee3e867a27 (patch)
tree5ed8c487e7e38ff5dc2fb40a00113f4ba79702e3 /server/src/main/java/com/vaadin/ui/AbstractDateField.java
parent1ce112b409f0f8c68e8d9c0901002fb27e1cb2bd (diff)
downloadvaadin-framework-16335d3abad58420013e261d4fdc57ee3e867a27.tar.gz
vaadin-framework-16335d3abad58420013e261d4fdc57ee3e867a27.zip
Fix formatting of some files (#10972)
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/AbstractDateField.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractDateField.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractDateField.java b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
index 841ad0392e..5fdd3bb788 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractDateField.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
@@ -117,7 +117,7 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
currentParseErrorMessage = null;
if (newDateString == null || newDateString.isEmpty()) {
boolean valueChanged = setValue(newDate, true);
- if(!valueChanged && parseErrorWasSet) {
+ if (!valueChanged && parseErrorWasSet) {
doSetValue(newDate);
}
} else {