From 6bb9177e697fcf1dabea54b523b8f2d7d5a1691c Mon Sep 17 00:00:00 2001 From: Anna Koskinen Date: Fri, 29 Oct 2021 17:43:44 +0300 Subject: [PATCH] Remove obsolete comment and assert in Binder (#12456) (#12465) Authored-by: Tatu Lund --- server/src/main/java/com/vaadin/data/Binder.java | 4 +--- 1 file changed, 1 insertion(+), 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 6a4afdb2f6f..01794c7b3d1 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 @@ protected ValueContext createValueContext() { /** * 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 @@ protected ValueContext createValueContext() { */ private void initFieldValue(BEAN bean, boolean writeBackChangedValues) { assert bean != null; - assert onValueChange != null; valueInit = true; try { TARGET originalValue = getter.apply(bean);