Source:
<code>public void storeSettings() { preferencesService.storeEntryEditorPreferences(new EntryEditorPreferences( initialEntryEditorPreferences.getEntryEditorTabList(), openOnNewEntryProperty.getValue(), enableRelatedArticlesTabProperty.getValue(), acceptRecommendationsProperty.getValue(), enableLatexCitationsTabProperty.getValue(), defaultSourceProperty.getValue(), enableValidationProperty.getValue())); AutoCompletePreferences.NameFormat nameFormat = AutoCompletePreferences.NameFormat.BOTH; if (autoCompleteFirstLastProperty.getValue()) { nameFormat = AutoCompletePreferences.NameFormat.FIRST_LAST; } else if (autoCompleteLastFirstProperty.getValue()) { nameFormat = AutoCompletePreferences.NameFormat.LAST_FIRST; } AutoCompleteFirstNameMode firstNameMode = AutoCompleteFirstNameMode.BOTH; if (firstNameModeAbbreviatedProperty.getValue()) { firstNameMode = AutoCompleteFirstNameMode.ONLY_ABBREVIATED; } else if (firstNameModeFullProperty.getValue()) { firstNameMode = AutoCompleteFirstNameMode.ONLY_FULL; } <START> if(initialAutoCompletePreferences.shouldAutoComplete()!=enableAutoCompleteProperty.getValue()){ <END> if(enableAutoCompleteProperty.getValue()){ restartWarnings.add(Localization.lang("Auto complete enabled.")); }else{ restartWarnings.add(Localization.lang("Auto complete disabled.")); } } preferencesService.storeAutoCompletePreferences(new AutoCompletePreferences( enableAutoCompleteProperty.getValue(), firstNameMode, nameFormat, FieldFactory.parseFieldList(autoCompleteFieldsProperty.getValue()), preferencesService.getJournalAbbreviationPreferences())); }</code><technical_language>a lot of checkstyle issues here. Please setup JabRef Code Style life easier <LINK_0></technical_language>

Target:
public void storeSettings() { preferencesService.storeEntryEditorPreferences(new EntryEditorPreferences( initialEntryEditorPreferences.getEntryEditorTabList(), openOnNewEntryProperty.getValue(), enableRelatedArticlesTabProperty.getValue(), acceptRecommendationsProperty.getValue(), enableLatexCitationsTabProperty.getValue(), defaultSourceProperty.getValue(), enableValidationProperty.getValue())); AutoCompletePreferences.NameFormat nameFormat = AutoCompletePreferences.NameFormat.BOTH; if (autoCompleteFirstLastProperty.getValue()) { nameFormat = AutoCompletePreferences.NameFormat.FIRST_LAST; } else if (autoCompleteLastFirstProperty.getValue()) { nameFormat = AutoCompletePreferences.NameFormat.LAST_FIRST; } AutoCompleteFirstNameMode firstNameMode = AutoCompleteFirstNameMode.BOTH; if (firstNameModeAbbreviatedProperty.getValue()) { firstNameMode = AutoCompleteFirstNameMode.ONLY_ABBREVIATED; } else if (firstNameModeFullProperty.getValue()) { firstNameMode = AutoCompleteFirstNameMode.ONLY_FULL; } if (initialAutoCompletePreferences.shouldAutoComplete() != enableAutoCompleteProperty.getValue()) { if (enableAutoCompleteProperty.getValue()) { restartWarnings.add(Localization.lang("Auto complete enable.")); } else { restartWarnings.add(Localization.lang("Auto complete disable.")); } } preferencesService.storeAutoCompletePreferences(new AutoCompletePreferences( enableAutoCompleteProperty.getValue(), firstNameMode, nameFormat, FieldFactory.parseFieldList(autoCompleteFieldsProperty.getValue()), preferencesService.getJournalAbbreviationPreferences())); }