IJ-MR-171281 [java-inspection] IJ-CR-170128 IDEA-376232 JEP 512: 'safe delete' for 'args' in main method in the compact source file at the first place in the list of suggested quick-fixes

- fix conflicts

GitOrigin-RevId: 23eacf462635c4ed0068fffb51d6abcab305ffc8
This commit is contained in:
Mikhail Pyltsin
2025-08-04 17:07:19 +02:00
committed by intellij-monorepo-bot
parent c472de17e7
commit 42f33aa5f9

View File

@@ -4,6 +4,7 @@ package com.intellij.codeInsight.daemon.impl.quickfix;
import com.intellij.codeInsight.intention.IntentionAction;
import com.intellij.codeInspection.InspectionProfileEntry;
import com.intellij.codeInspection.deadCode.UnusedDeclarationInspection;
import com.intellij.pom.java.LanguageLevel;
import com.intellij.testFramework.LightProjectDescriptor;
import com.siyeh.ig.LightJavaInspectionTestCase;
import org.jetbrains.annotations.NotNull;
@@ -16,7 +17,7 @@ public class RemoveUnusedParameterMainMethodTest extends LightJavaInspectionTest
@Override
protected @NotNull LightProjectDescriptor getProjectDescriptor() {
return JAVA_25;
return new ProjectDescriptor(LanguageLevel.JDK_25);
}
@Nullable