[java-inspection] 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

- use normal by default

(cherry picked from commit 774eb7a28c0e2ccb794312e3fc0b225aff17da7c)

GitOrigin-RevId: 3e94886091d96b2848848aa0ddc543c315fc2e06
This commit is contained in:
Mikhail Pyltsin
2025-07-23 13:02:28 +02:00
committed by intellij-monorepo-bot
parent 7b4509504b
commit c472de17e7

View File

@@ -419,7 +419,7 @@ public final class UnusedSymbolLocalInspection extends AbstractBaseJavaLocalInsp
private OrderedLocalQuickFixBackedByIntentionAction(@NotNull IntentionAction action) {
super(action);
myPriority = action instanceof PriorityAction priorityAction ? priorityAction.getPriority() : Priority.HIGH;
myPriority = action instanceof PriorityAction priorityAction ? priorityAction.getPriority() : Priority.NORMAL;
}
@Override