mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -194,7 +194,7 @@ public abstract class DaemonAnalyzerTestCase extends CodeInsightTestCase {
|
||||
}
|
||||
|
||||
protected void enableInspectionTool(@NotNull InspectionProfileEntry tool){
|
||||
assert !(tool instanceof InspectionToolWrapper) : tool;
|
||||
//assert !(tool instanceof InspectionToolWrapper) : tool;
|
||||
InspectionToolWrapper wrapper = InspectionToolRegistrar.wrapTool(tool);
|
||||
final String shortName = wrapper.getShortName();
|
||||
final HighlightDisplayKey key = HighlightDisplayKey.find(shortName);
|
||||
|
||||
@@ -466,7 +466,7 @@ public abstract class LightPlatformTestCase extends UsefulTestCase implements Da
|
||||
enableInspectionTool(myAvailableInspectionTools, wrapper);
|
||||
}
|
||||
protected void enableInspectionTool(@NotNull InspectionProfileEntry tool) {
|
||||
assert !(tool instanceof InspectionToolWrapper) : tool;
|
||||
//assert !(tool instanceof InspectionToolWrapper) : tool;
|
||||
enableInspectionTool(myAvailableInspectionTools, InspectionToolRegistrar.wrapTool(tool));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user