diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2024-06-30 16:26:08 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2024-06-30 16:26:08 +0200 |
commit | a1a26a0742ea216ca9ac442b7819e33a9ca61218 (patch) | |
tree | 2144c2b9aeb9743782c84865301891d7520d3217 /src/main/java/me/laria | |
parent | 505fc951cf224c0172120dd88d1136f03629abe9 (diff) | |
download | idea_caseconv-master.tar.gz idea_caseconv-master.tar.bz2 idea_caseconv-master.zip |
Diffstat (limited to 'src/main/java/me/laria')
-rw-r--r-- | src/main/java/me/laria/code/idea_caseconv/settings/Settings.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/laria/code/idea_caseconv/settings/Settings.java b/src/main/java/me/laria/code/idea_caseconv/settings/Settings.java index 28f15b1..74b9903 100644 --- a/src/main/java/me/laria/code/idea_caseconv/settings/Settings.java +++ b/src/main/java/me/laria/code/idea_caseconv/settings/Settings.java @@ -1,7 +1,7 @@ package me.laria.code.idea_caseconv.settings; +import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.components.PersistentStateComponent; -import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.components.State; import com.intellij.openapi.components.Storage; import com.intellij.util.xmlb.XmlSerializerUtil; @@ -17,7 +17,7 @@ public class Settings implements PersistentStateComponent<Settings> { public static Settings getInstance() { - return ServiceManager.getService(Settings.class); + return ApplicationManager.getApplication().getService(Settings.class); } @Nullable |