[java-inspections] IDEA-356745 False positive 'Incorrect 'MessageFormat' pattern' when argument is array

- delete outdated comment

GitOrigin-RevId: 41cc9b3487451c07ea0ab55f8cd88c6750a51010
This commit is contained in:
Mikhail Pyltsin
2024-08-13 08:58:44 +02:00
committed by intellij-monorepo-bot
parent 115c0262c1
commit dc7ef24c78

View File

@@ -110,7 +110,6 @@ public final class IncorrectMessageFormatInspection extends AbstractBaseJavaLoca
return;
}
PsiIdentifier identifier = identifiers[0];
//skip if arr
if (!notFoundArguments.isEmpty()) {
if (notFoundArguments.size() == 1) {
holder.registerProblem(identifier, InspectionGadgetsBundle.message("inspection.incorrect.message.format.not.found.argument",