aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/main/java/com/vaadin/data/Binder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/data/Binder.java b/server/src/main/java/com/vaadin/data/Binder.java
index c41461f729..8a11cc36ee 100644
--- a/server/src/main/java/com/vaadin/data/Binder.java
+++ b/server/src/main/java/com/vaadin/data/Binder.java
@@ -1286,7 +1286,7 @@ public class Binder<BEAN> implements Serializable {
setter.accept(bean, value);
if (value != null) {
FIELDVALUE converted = convertToFieldType(value);
- if (!field.getValue().equals(converted)) {
+ if (!Objects.equals(field.getValue(), converted)) {
getField().setValue(converted);
}
}