unused declaration inspection: ensure correct presentation is used

This commit is contained in:
Anna.Kozlova
2017-04-13 15:06:33 +02:00
parent 78184b5674
commit e5391ed771
2 changed files with 5 additions and 5 deletions
@@ -62,7 +62,7 @@ public abstract class InspectionTestCase extends PsiTestCase {
private EntryPoint myUnusedCodeExtension;
private VirtualFile ext_src;
protected static GlobalInspectionToolWrapper getUnusedDeclarationWrapper() {
public static GlobalInspectionToolWrapper getUnusedDeclarationWrapper() {
InspectionEP ep = new InspectionEP();
ep.presentation = UnusedDeclarationPresentation.class.getName();
ep.implementationClass = UnusedDeclarationInspection.class.getName();