mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
Try alternative ID first, then fall back to ID (shortName) in case it's null
(cherry picked from commit 412a840c71b6ab5155639300f6f3474743aacb69) IJ-MR-143425 GitOrigin-RevId: 97b995309acca92b2f339afff75d379e076cc8d9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
42e63cac7e
commit
310351ea72
@@ -98,7 +98,7 @@ private class InspectopediaExtractor : ModernApplicationStarter() {
|
|||||||
try {
|
try {
|
||||||
val language = wrapper.language
|
val language = wrapper.language
|
||||||
availablePlugins.get(pluginId)!!.inspections.add(Inspection(
|
availablePlugins.get(pluginId)!!.inspections.add(Inspection(
|
||||||
id = wrapper.shortName,
|
id = wrapper.tool.alternativeID ?: wrapper.id,
|
||||||
name = wrapper.displayName,
|
name = wrapper.displayName,
|
||||||
severity = wrapper.defaultLevel.name,
|
severity = wrapper.defaultLevel.name,
|
||||||
language = language,
|
language = language,
|
||||||
|
|||||||
Reference in New Issue
Block a user