[java] simplify error message

GitOrigin-RevId: 82e449029d1d03994dd6b4e68a5d280dd0f5b0b9
This commit is contained in:
Anna Kozlova
2021-11-17 07:08:06 +01:00
committed by intellij-monorepo-bot
parent 940f19a861
commit c266a5b737
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ class Test5 {
static <T> void bar(I<T> i){}
{
bar(<error descr="Incompatible parameter types in lambda expression: wrong number of parameters: expected 1 but found 0">() -> null</error>);
bar(<error descr="Wrong number of lambda parameters: expected 1 but found 0">() -> null</error>);
}
}
class Test6 {