Преглед на файлове

Remove obsolete comment and assert in Binder (#12456)

tags/8.15.0
Tatu Lund преди 2 години
родител
ревизия
79059ef21b
No account linked to committer's email address
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1
    3
      server/src/main/java/com/vaadin/data/Binder.java

+ 1
- 3
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);

Loading…
Отказ
Запис