mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
further inspection wrapper propagation
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ public class HighlightSuppressedWarningsHandler extends HighlightUsagesHandlerBa
|
||||
if (!(toolById instanceof LocalInspectionToolWrapper)) {
|
||||
continue;
|
||||
}
|
||||
final LocalInspectionToolWrapper tool = new LocalInspectionToolWrapper(((LocalInspectionToolWrapper)toolById).getTool());
|
||||
final LocalInspectionToolWrapper tool = ((LocalInspectionToolWrapper)toolById).createCopy();
|
||||
final InspectionManagerEx managerEx = (InspectionManagerEx)InspectionManager.getInstance(project);
|
||||
final GlobalInspectionContextImpl context = managerEx.createNewGlobalContext(false);
|
||||
tool.initialize(context);
|
||||
|
||||
Reference in New Issue
Block a user