remove outdated storage specs

This commit is contained in:
Vladimir Krivosheev
2018-08-01 12:35:05 +02:00
parent 15ad73f913
commit 954b2db5af
5 changed files with 9 additions and 37 deletions
@@ -22,13 +22,7 @@ import java.beans.PropertyChangeListener;
import java.util.Arrays;
import java.util.List;
@State(
name = "TodoConfiguration",
storages = {
@Storage("editor.xml"),
@Storage(value = "other.xml", deprecated = true)
}
)
@State(name = "TodoConfiguration", storages = @Storage("editor.xml"))
public class TodoConfiguration implements PersistentStateComponent<Element> {
private boolean myMultiLine = true;
private TodoPattern[] myTodoPatterns;
@@ -45,10 +45,7 @@ import java.util.function.Function;
@State(
name = "InspectionProfileManager",
storages = {
@Storage("editor.xml"),
@Storage(value = "other.xml", deprecated = true)
},
storages = @Storage("editor.xml"),
additionalExportFile = InspectionProfileManager.INSPECTION_DIR
)
public class ApplicationInspectionProfileManager extends BaseInspectionProfileManager implements InspectionProfileManager, PersistentStateComponent<Element> {
@@ -13,13 +13,7 @@ import org.jetbrains.annotations.NotNull;
import java.util.*;
import java.util.stream.Collectors;
@State(
name = "Registry",
storages = {
@Storage("ide.general.xml"),
@Storage(value = "other.xml", deprecated = true)
}
)
@State(name = "Registry", storages = @Storage("ide.general.xml"))
public class RegistryState implements PersistentStateComponent<Element> {
private static final Logger LOG = Logger.getInstance(RegistryState.class);
@@ -54,14 +54,7 @@ import java.util.stream.Collectors;
import static com.intellij.openapi.util.Pair.pair;
@State(
name = "HttpConfigurable",
storages = {
@Storage("proxy.settings.xml"),
// we use two storages due to backward compatibility, see http://crucible.labs.intellij.net/cru/CR-IC-5142
@Storage(value = "other.xml", deprecated = true)
}
)
@State(name = "HttpConfigurable", storages = @Storage("proxy.settings.xml"))
public class HttpConfigurable implements PersistentStateComponent<HttpConfigurable>, Disposable, ApplicationComponent {
private static final Logger LOG = Logger.getInstance("#com.intellij.util.net.HttpConfigurable");
private static final File PROXY_CREDENTIALS_FILE = new File(PathManager.getOptionsPath(), "proxy.settings.pwd");
@@ -60,13 +60,7 @@ import java.util.concurrent.atomic.AtomicReference;
*
* @author Mikhail Golubev
*/
@State(
name = "CertificateManager",
storages = {
@Storage("certificates.xml"),
@Storage(value = "other.xml", deprecated = true)
}
)
@State(name = "CertificateManager", storages = @Storage("certificates.xml"))
public class CertificateManager implements PersistentStateComponent<CertificateManager.Config> {
@NonNls public static final String COMPONENT_NAME = "Certificate Manager";
@@ -76,15 +70,15 @@ public class CertificateManager implements PersistentStateComponent<CertificateM
private static final Logger LOG = Logger.getInstance(CertificateManager.class);
/**
* Note that deprecated {@link org.apache.http.conn.ssl.BrowserCompatHostnameVerifier} is used intentionally here
* since external clients might expect implementor of {@link org.apache.http.conn.ssl.X509HostnameVerifier} and
* Note that deprecated {@link org.apache.http.conn.ssl.BrowserCompatHostnameVerifier} is used intentionally here
* since external clients might expect implementor of {@link org.apache.http.conn.ssl.X509HostnameVerifier} and
* {@link org.apache.http.conn.ssl.DefaultHostnameVerifier} is not.
*
*
* @deprecated To be removed in IDEA 18. Use specific host name verifiers from httpclient-4.x instead.
*/
@Deprecated
public static final HostnameVerifier HOSTNAME_VERIFIER = new BrowserCompatHostnameVerifier();
/**
* Used to check whether dialog is visible to prevent possible deadlock, e.g. when some external resource is loaded by
* {@link java.awt.MediaTracker}.