diff options
author | Tatu Lund <tatu@vaadin.com> | 2021-10-28 08:26:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 08:26:05 +0300 |
commit | 79059ef21bc50fda050275af978e6e066ae47071 (patch) | |
tree | 0431d5c2747498688aee703ff17ba8b64c90c9a1 /server/src/main/java | |
parent | 5cbc384fb2514546e4fc1f55b4516b381d2ae194 (diff) | |
download | vaadin-framework-79059ef21bc50fda050275af978e6e066ae47071.tar.gz vaadin-framework-79059ef21bc50fda050275af978e6e066ae47071.zip |
Remove obsolete comment and assert in Binder (#12456)
Diffstat (limited to 'server/src/main/java')
-rw-r--r-- | server/src/main/java/com/vaadin/data/Binder.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/data/Binder.java b/server/src/main/java/com/vaadin/data/Binder.java index 6a4afdb2f6..01794c7b3d 100644 --- a/server/src/main/java/com/vaadin/data/Binder.java +++ b/server/src/main/java/com/vaadin/data/Binder.java @@ -1239,8 +1239,7 @@ public class Binder<BEAN> implements Serializable { /** * Sets the field value by invoking the getter function on the given - * bean. The default listener attached to the field will be removed for - * the duration of this update. + * bean. * * @param bean * the bean to fetch the property value from @@ -1252,7 +1251,6 @@ public class Binder<BEAN> implements Serializable { */ private void initFieldValue(BEAN bean, boolean writeBackChangedValues) { assert bean != null; - assert onValueChange != null; valueInit = true; try { TARGET originalValue = getter.apply(bean); |