Java: better error message when there are more arguments than parameters (IDEA-336129)

GitOrigin-RevId: a17a5f0f3878b9baf211737a614d1aa1a5103d31
This commit is contained in:
Bas Leijdekkers
2024-06-26 17:30:09 +02:00
committed by intellij-monorepo-bot
parent ed3ae46a60
commit 6916b6b005
22 changed files with 42 additions and 30 deletions

View File

@@ -565,7 +565,7 @@ generate.members.position.at.the.end.of.class=At the end of class
navigate.to.overridden.methods.title=Overriding methods of {0}
subclasses.search.progress.title=Searching for overridden methods
progress.title.searching.for.overridden.methods=Searching for overridden methods
arguments.count.mismatch=Expected {0} arguments but found {1}
arguments.count.mismatch=Expected {0, choice, 0#no arguments|1#1 argument|1<{0} arguments} but found {1}
inspection.message.nullable.method.implements.non.null.method=Nullable method ''{0}'' from ''{1}'' implements non-null method from ''{2}''
inspection.message.non.annotated.method.implements.non.null.method=Non-annotated method ''{0}'' from ''{1}'' implements non-null method from ''{2}''
inspection.message.non.null.parameter.should.not.override.nullable.parameter=Non-null parameter ''{0}'' in method ''{1}'' from ''{2}'' should not override nullable parameter from ''{3}''