remove ModifiableModel, migrate to use setToolEnabled

This commit is contained in:
Vladimir Krivosheev
2017-05-16 10:25:13 +02:00
parent 7cd7ae6629
commit 4ddc817883
11 changed files with 40 additions and 92 deletions
@@ -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);
}
}