From f08230b22acb5293de24f021ce4725c9d94747d2 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Wed, 26 Aug 2015 17:43:37 +0200 Subject: [PATCH] IDEA-144395 Unable to Save Settings (fast fix, the reason is not clear) --- platform/configuration-store-impl/src/SchemeManagerImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/configuration-store-impl/src/SchemeManagerImpl.kt b/platform/configuration-store-impl/src/SchemeManagerImpl.kt index 48bc88175a2a..12b40931ab81 100644 --- a/platform/configuration-store-impl/src/SchemeManagerImpl.kt +++ b/platform/configuration-store-impl/src/SchemeManagerImpl.kt @@ -518,7 +518,7 @@ public class SchemeManagerImpl(private val // save only if scheme differs from bundled val bundledScheme = readOnlyExternalizableSchemes.get(scheme.getName()) - if (bundledScheme != null && schemeToInfo.get(bundledScheme)!!.hash == newHash) { + if (bundledScheme != null && schemeToInfo.get(bundledScheme)?.hash == newHash) { externalInfo?.scheduleDelete() return }