Skip to content
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

Commit 708f6b5

Browse files
committed
Migrate Storage annotation to shorthand variant
1 parent 7fe0795 commit 708f6b5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/java/de/espend/idea/laravel/LaravelSettings.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
package de.espend.idea.laravel;
22

3-
import com.intellij.openapi.components.*;
3+
import com.intellij.openapi.components.PersistentStateComponent;
4+
import com.intellij.openapi.components.ServiceManager;
5+
import com.intellij.openapi.components.State;
6+
import com.intellij.openapi.components.Storage;
47
import com.intellij.openapi.project.Project;
58
import com.intellij.util.xmlb.XmlSerializerUtil;
69
import de.espend.idea.laravel.view.dict.TemplatePath;
@@ -16,8 +19,7 @@
1619
@State(
1720
name = "LaravelPluginSettings",
1821
storages = {
19-
@Storage(file = StoragePathMacros.PROJECT_FILE),
20-
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/laravel-plugin.xml", scheme = StorageScheme.DIRECTORY_BASED)
22+
@Storage("laravel-plugin.xml")
2123
}
2224
)
2325
public class LaravelSettings implements PersistentStateComponent<LaravelSettings> {

0 commit comments

Comments
 (0)