[java] add cast fix when multiple arguments require fix simultaneously (IDEA-271993)

GitOrigin-RevId: 2f6dc7ed7341c851b56a80a9b6404678ac0da0b9
This commit is contained in:
Anna Kozlova
2021-06-22 14:55:14 +02:00
committed by intellij-monorepo-bot
parent 612d647e64
commit f803857dc1
5 changed files with 88 additions and 25 deletions

View File

@@ -0,0 +1,10 @@
// "Cast 1st parameter to 'java.lang.Throwable'" "true"
class a {
void f(Throwable a, Throwable b) {}
void g() {
Exception e=null;
Object o = null;
f((Throwable) e,o);
}
}