mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
[java] add cast fix when multiple arguments require fix simultaneously (IDEA-271993)
GitOrigin-RevId: 2f6dc7ed7341c851b56a80a9b6404678ac0da0b9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
612d647e64
commit
f803857dc1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user