mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-163920 NPE when saving proxy settings
This commit is contained in:
@@ -633,7 +633,12 @@ public class HttpConfigurable implements PersistentStateComponent<HttpConfigurab
|
||||
return null;
|
||||
}
|
||||
|
||||
private void storeSecure(String key, String value) {
|
||||
private void storeSecure(String key, @Nullable String value) {
|
||||
if (value == null) {
|
||||
removeSecure(key);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
//PasswordSafe.getInstance().storePassword(null, HttpConfigurable.class, key, value);
|
||||
synchronized (myProxyCredentials) {
|
||||
|
||||
Reference in New Issue
Block a user