Skip to content

Commit

Permalink
Remove obsolete comment and assert in Binder (#12456) (#12465)
Browse files Browse the repository at this point in the history
Authored-by: Tatu Lund <tatu@vaadin.com>
  • Loading branch information
Ansku authored Oct 29, 2021
1 parent 6772825 commit 6bb9177
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/src/main/java/com/vaadin/data/Binder.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit 6bb9177

Please sign in to comment.