diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-10-19 14:54:33 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-10-24 08:36:48 +0000 |
commit | 09485d529d085a380b347a118b54df9ae30fefd0 (patch) | |
tree | 6549d3b5fe2df51481b6fe26af78b07ae8a27b8a /server/src/main/java/com/vaadin/data/BeanBinder.java | |
parent | 2cdb3b39329232dcefee2ae61ded92f2c3fe54b0 (diff) | |
download | vaadin-framework-09485d529d085a380b347a118b54df9ae30fefd0.tar.gz vaadin-framework-09485d529d085a380b347a118b54df9ae30fefd0.zip |
Initial support for null representations in Binder
Change-Id: If40bfa28764d1399b5ed4d5928988560e9989dce
Diffstat (limited to 'server/src/main/java/com/vaadin/data/BeanBinder.java')
-rw-r--r-- | server/src/main/java/com/vaadin/data/BeanBinder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/data/BeanBinder.java b/server/src/main/java/com/vaadin/data/BeanBinder.java index d8e8c0450d..96654e37a0 100644 --- a/server/src/main/java/com/vaadin/data/BeanBinder.java +++ b/server/src/main/java/com/vaadin/data/BeanBinder.java @@ -266,8 +266,8 @@ public class BeanBinder<BEAN> extends Binder<BEAN> { @Override public <FIELDVALUE> BeanBinding<BEAN, FIELDVALUE, FIELDVALUE> forField( HasValue<FIELDVALUE> field) { - return createBinding(field, Converter.identity(), - this::handleValidationStatus); + return (BeanBinding<BEAN, FIELDVALUE, FIELDVALUE>) super.forField( + field); } /** |