summaryrefslogtreecommitdiff
path: root/platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java')
-rw-r--r--platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java b/platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java
index 0f9855001b63..757706127a38 100644
--- a/platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java
+++ b/platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java
@@ -61,7 +61,7 @@ import java.util.*;
@Storage(file = StoragePathMacros.APP_CONFIG + "/other.xml"),
@Storage(file = StoragePathMacros.APP_CONFIG + "/proxy.settings.xml")
},
- storageChooser = HttpConfigurable.StorageChooser.class
+ storageChooser = LastStorageChooserForWrite.class
)
public class HttpConfigurable implements PersistentStateComponent<HttpConfigurable>, ExportableApplicationComponent {
public static final int CONNECTION_TIMEOUT = SystemProperties.getIntProperty("idea.connection.timeout", 10000);
@@ -519,20 +519,6 @@ public class HttpConfigurable implements PersistentStateComponent<HttpConfigurab
return "Proxy Settings";
}
- public static class StorageChooser implements StateStorageChooser<HttpConfigurable> {
- @Override
- public Storage[] selectStorages(Storage[] storages, HttpConfigurable component, StateStorageOperation operation) {
- if (operation == StateStorageOperation.WRITE) {
- for (Storage storage : storages) {
- if (storage.file().equals(StoragePathMacros.APP_CONFIG + "/proxy.settings.xml")) {
- return new Storage[] {storage};
- }
- }
- }
- return storages;
- }
- }
-
public static class ProxyInfo {
public boolean myStore;
public String myUsername;