blob: 58824df24dcc983bf3f31757a4772eaea13620d9 [file] [log] [blame]
package com.siyeh.ipp;
import java.io.IOException;
public class SimplifyTestCase{
private int x;
public void foo(Exception e)
{
if(e instanceof IOException == false){
//
int y = getX();
}
}
public int getX()
{
return x;
}
boolean foo() {
boolean result;
if (isFoo()) {
result = false;
} else {
result = isBar();
}
return result;
}
boolean isFoo() {
return true;
}
boolean isBar() {
return false;
}
}