diff --git a/platform/configuration-store-impl/src/ComponentStoreWithExtraComponents.kt b/platform/configuration-store-impl/src/ComponentStoreWithExtraComponents.kt index 815c5111fac5..6eb656513554 100644 --- a/platform/configuration-store-impl/src/ComponentStoreWithExtraComponents.kt +++ b/platform/configuration-store-impl/src/ComponentStoreWithExtraComponents.kt @@ -38,8 +38,7 @@ abstract class ComponentStoreWithExtraComponents : ComponentStoreImpl() { } final override fun initComponent(component: Any, serviceDescriptor: ServiceDescriptor?, pluginId: PluginId?) { - @Suppress("DEPRECATION") - if (component is com.intellij.openapi.components.SettingsSavingComponent) { + if (component is @Suppress("DEPRECATION") com.intellij.openapi.components.SettingsSavingComponent) { settingsSavingComponents.add(component) } else if (component is SettingsSavingComponent) {