Describe the bug
setYearMonth() contains two identical consecutive assignments:
public void setYearMonth(YearMonth yearMonth) {
this.yearMonth = Objects.requireNonNull(yearMonth);
this.yearMonth = Objects.requireNonNull(yearMonth); // duplicate
This is a copy-paste error. The duplication is harmless at runtime but should be removed.
Expected behavior
The assignment appears exactly once.
Add-on Version
4.6.1-SNAPSHOT
Vaadin Version
N/A