mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup (kotlin)
This commit is contained in:
@@ -154,7 +154,7 @@ fun getExportableComponentsMap(onlyExisting: Boolean,
|
||||
|
||||
val fileToContent = THashMap<Path, String>()
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user