Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix statement mappings in isomorphic lambda expressions
JabRef/jabref#11430 src/main/java/org/jabref/preferences/JabRefPreferences.java public AutoCompletePreferences getAutoCompletePreferences() EasyBind.listen(autoCompletePreferences.nameFormatProperty(), (obs, oldValue, newValue) -> { if (autoCompletePreferences.getNameFormat() == AutoCompletePreferences.NameFormat.BOTH) { putBoolean(AUTOCOMPLETER_LAST_FIRST, false); putBoolean(AUTOCOMPLETER_FIRST_LAST, false); } else if (autoCompletePreferences.getNameFormat() == AutoCompletePreferences.NameFormat.LAST_FIRST) { putBoolean(AUTOCOMPLETER_LAST_FIRST, true); putBoolean(AUTOCOMPLETER_FIRST_LAST, false); } else { putBoolean(AUTOCOMPLETER_LAST_FIRST, false); putBoolean(AUTOCOMPLETER_FIRST_LAST, true); } });
- Loading branch information