mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
local inspections: fix logging
GitOrigin-RevId: 505dce9b2cfe975b731a2a58866e08e4ab64ddd5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
72202491fc
commit
bfedfdd9cc
+1
-1
@@ -501,7 +501,7 @@ public class LocalInspectionsPass extends ProgressableTextEditorHighlightingPass
|
||||
if (descriptor instanceof ProblemDescriptorWithReporterName) {
|
||||
String reportingToolName = ((ProblemDescriptorWithReporterName)descriptor).getReportingToolName();
|
||||
final InspectionToolWrapper<?, ?> reportingTool = myProfileWrapper.getInspectionTool(reportingToolName, element);
|
||||
assert reportingTool instanceof LocalInspectionToolWrapper;
|
||||
LOG.assertTrue(reportingTool instanceof LocalInspectionToolWrapper, reportingToolName);
|
||||
toolWrapper = (LocalInspectionToolWrapper)reportingTool;
|
||||
severity = myProfileWrapper.getErrorLevel(HighlightDisplayKey.find(reportingToolName), file).getSeverity();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user