mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not save state if it is empty for rubymine extensions && cleanup
This commit is contained in:
+3
-3
@@ -81,9 +81,9 @@ public class SpellCheckerSettings implements PersistentStateComponent<Element> {
|
||||
|
||||
@SuppressWarnings({"ConstantConditions"})
|
||||
public Element getState() {
|
||||
if (myBundledDisabledDictionariesPaths.size() == 0 &&
|
||||
myDictionaryFoldersPaths.size() == 0 &&
|
||||
myDisabledDictionariesPaths.size() == 0) {
|
||||
if (myBundledDisabledDictionariesPaths.isEmpty() &&
|
||||
myDictionaryFoldersPaths.isEmpty() &&
|
||||
myDisabledDictionariesPaths.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user