mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-211756 Fix potential NPE when accessing plugin descriptor in CorpusBuilder
GitOrigin-RevId: 220669dda1ce193db8b859a17f6250c47c5a3390
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b64f5e5ac4
commit
d0ae96d40a
+1
-1
@@ -122,7 +122,7 @@ internal class CorpusBuilder(coroutineScope: CoroutineScope) {
|
||||
}
|
||||
|
||||
if (configurable is ConfigurableWrapper) {
|
||||
configurable.extensionPoint.pluginDescriptor.description
|
||||
configurable.extensionPoint.pluginDescriptor?.description
|
||||
?.replace(HTML_TAGS_REGEX, "") // matches everything enclosed in < and > and removes any HTML-like tags.
|
||||
?.split('.', '\n')
|
||||
?.mapNotNull { tokenizeText(it) }
|
||||
|
||||
Reference in New Issue
Block a user