mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
IDEA-125194 Strange control-flow inspection
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class Doo {
|
||||
|
||||
void foo(Throwable e) {
|
||||
Throwable t = e;
|
||||
|
||||
while (t.getCause() != null) t = t.getCause();
|
||||
if (e != t) {
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user