IDEA-125194 Strange control-flow inspection

This commit is contained in:
peter
2014-05-16 16:51:39 +02:00
parent 0f495ffd43
commit 83a2697042
3 changed files with 19 additions and 0 deletions
@@ -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();
}
}
}