mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -32,6 +32,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public abstract class LocalInspectionTool extends InspectionProfileEntry {
|
||||
public static final LocalInspectionTool[] EMPTY_ARRAY = new LocalInspectionTool[0];
|
||||
private static final Logger LOG = Logger.getInstance("#" + LocalInspectionTool.class.getName());
|
||||
|
||||
/**
|
||||
|
||||
@@ -427,7 +427,7 @@ public abstract class LightPlatformTestCase extends UsefulTestCase implements Da
|
||||
}
|
||||
|
||||
protected LocalInspectionTool[] configureLocalInspectionTools() {
|
||||
return new LocalInspectionTool[0];
|
||||
return LocalInspectionTool.EMPTY_ARRAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ class LightIdeaTestFixtureImpl extends BaseFixture implements LightIdeaTestFixtu
|
||||
super.setUp();
|
||||
|
||||
LightPlatformTestCase.initApplication(new MyDataProvider());
|
||||
LightPlatformTestCase.doSetup(myProjectDescriptor, new LocalInspectionTool[0], null);
|
||||
LightPlatformTestCase.doSetup(myProjectDescriptor, LocalInspectionTool.EMPTY_ARRAY, null);
|
||||
((InjectedLanguageManagerImpl)InjectedLanguageManager.getInstance(getProject())).pushInjectors();
|
||||
storeSettings();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user