mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-inspections] ClassCanBeRecord: use JAVA_25 project description in test
Also: make name of one of the tests consistent with the other ones. GitOrigin-RevId: 7b8d44499f2b5c5a4717ba070a2c48165a0e4ed3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f8426a3889
commit
ba61f2fd8f
+2
-2
@@ -11,7 +11,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import static com.intellij.codeInspection.classCanBeRecord.ClassCanBeRecordInspection.ConversionStrategy;
|
||||
|
||||
public class ClassCanBeRecordFlexibleConstructorBodiesTest extends LightQuickFixParameterizedTestCase {
|
||||
public class ClassCanBeRecordInspectionFlexibleConstructorBodiesTest extends LightQuickFixParameterizedTestCase {
|
||||
@Override
|
||||
protected LocalInspectionTool @NotNull [] configureLocalInspectionTools() {
|
||||
ClassCanBeRecordInspection inspection = new ClassCanBeRecordInspection(ConversionStrategy.DO_NOT_SUGGEST, true);
|
||||
@@ -20,7 +20,7 @@ public class ClassCanBeRecordFlexibleConstructorBodiesTest extends LightQuickFix
|
||||
|
||||
@Override
|
||||
protected @NotNull LightProjectDescriptor getProjectDescriptor() {
|
||||
return LightJavaCodeInsightFixtureTestCase.JAVA_LATEST;
|
||||
return LightJavaCodeInsightFixtureTestCase.JAVA_25;
|
||||
}
|
||||
|
||||
@Override
|
||||
Reference in New Issue
Block a user