mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not insert id for Storage when only one can be used - provide default value
This commit is contained in:
-1
@@ -56,7 +56,6 @@ import java.util.*;
|
||||
name = FacetAutodetectingManagerImpl.COMPONENT_NAME,
|
||||
storages = {
|
||||
@Storage(
|
||||
id="other",
|
||||
file = "$PROJECT_FILE$"
|
||||
)
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@ import com.intellij.openapi.components.State;
|
||||
import com.intellij.openapi.components.Storage;
|
||||
import com.intellij.util.xmlb.XmlSerializer;
|
||||
import com.intellij.util.xmlb.annotations.MapAnnotation;
|
||||
import com.intellij.util.xmlb.annotations.Tag;
|
||||
import com.intellij.util.xmlb.annotations.Property;
|
||||
import com.intellij.util.xmlb.annotations.Tag;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
@@ -37,7 +37,6 @@ import java.util.Map;
|
||||
name = "FacetEditorsStateManager",
|
||||
storages = {
|
||||
@Storage(
|
||||
id = "other",
|
||||
file = "$WORKSPACE_FILE$"
|
||||
)
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@ import java.io.File;
|
||||
roamingType = RoamingType.DISABLED,
|
||||
storages = {
|
||||
@Storage(
|
||||
id ="other",
|
||||
file = "$APP_CONFIG$/other.xml"
|
||||
)}
|
||||
)
|
||||
|
||||
-1
@@ -27,7 +27,6 @@ import com.intellij.openapi.project.Project;
|
||||
@State(
|
||||
name = "AnalyzeDependenciesSettings",
|
||||
storages = {@Storage(
|
||||
id = "ws",
|
||||
file = "$WORKSPACE_FILE$")})
|
||||
public class AnalyzeDependenciesSettings implements PersistentStateComponent<AnalyzeDependenciesSettings.State> {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user