mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Spellchecker:(minor) replace with parametrized constructor
This commit is contained in:
@@ -243,8 +243,7 @@ public class SpellCheckerSettingsPane implements Disposable {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
Set<String> words = this.dictionary.getEditableWords();
|
||||
List<String> result = new ArrayList<>();
|
||||
result.addAll(words);
|
||||
List<String> result = new ArrayList<>(words);
|
||||
Collections.sort(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user