浏览代码

Remove obsolete comment and assert in Binder (#12456) (#12465)

Authored-by: Tatu Lund <tatu@vaadin.com>
tags/8.14.2^0
Anna Koskinen 2 年前
父节点
当前提交
6bb9177e69
没有帐户链接到提交者的电子邮件
共有 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);

正在加载...
取消
保存