mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
@@ -222,10 +222,12 @@ public abstract class InspectionToolWrapper<T extends InspectionProfileEntry, E
|
||||
|
||||
public void cleanup() {
|
||||
myContext = null;
|
||||
getTool().cleanup();
|
||||
T tool = myTool;
|
||||
if (tool != null) {
|
||||
tool.cleanup();
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public abstract JobDescriptor[] getJobDescriptors(@NotNull GlobalInspectionContext context);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user