blob: 8a99379c74b08650fceef9ccdf8f622dcacc7e09 [file]
class Util {
void goo(int a, int b) {
try {
a %= b;
if (<warning descr="Condition 'b == 0' is always 'false'">b == 0</warning>)return;
}
catch (Exception e) {
if (<warning descr="Condition 'e instanceof ArithmeticException' is always 'true'">e instanceof ArithmeticException</warning>){
System.out.println("expected");
}
}
}
}