do not insert id for Storage when only one can be used - provide default value

This commit is contained in:
anna
2011-07-27 08:25:30 +04:00
parent 0a591e1db6
commit 8a37791ae1
170 changed files with 139 additions and 267 deletions
@@ -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"
)}
)
@@ -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> {
/**