diff --git a/platform/configuration-store-impl/src/ExportSettingsAction.kt b/platform/configuration-store-impl/src/ExportSettingsAction.kt index 3879d3bcf6f4..4d461cf3312e 100644 --- a/platform/configuration-store-impl/src/ExportSettingsAction.kt +++ b/platform/configuration-store-impl/src/ExportSettingsAction.kt @@ -154,7 +154,7 @@ fun getExportableComponentsMap(onlyExisting: Boolean, val fileToContent = THashMap() - ServiceManagerImpl.processAllImplementationClasses(ApplicationManager.getApplication() as ApplicationImpl, { aClass, pluginDescriptor -> + ServiceManagerImpl.processAllImplementationClasses(ApplicationManager.getApplication() as ApplicationImpl) { aClass, pluginDescriptor -> val stateAnnotation = StoreUtil.getStateSpec(aClass) @Suppress("DEPRECATION") if (stateAnnotation == null || stateAnnotation.name.isEmpty() || ExportableComponent::class.java.isAssignableFrom(aClass)) { @@ -200,7 +200,7 @@ fun getExportableComponentsMap(onlyExisting: Boolean, } } true - }) + } // must be in the end - because most of SchemeManager clients specify additionalExportFile in the State spec (SchemeManagerFactory.getInstance() as SchemeManagerFactoryBase).process {