mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove ModifiableModel, migrate to use setToolEnabled
This commit is contained in:
@@ -152,7 +152,7 @@ public abstract class DaemonAnalyzerTestCase extends CodeInsightTestCase {
|
||||
protected void disableInspectionTool(@NotNull String shortName){
|
||||
InspectionProfileImpl profile = InspectionProjectProfileManager.getInstance(getProject()).getCurrentProfile();
|
||||
if (profile.getInspectionTool(shortName, getProject()) != null) {
|
||||
profile.disableTool(shortName, getProject());
|
||||
profile.setToolEnabled(shortName, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user