summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/refactoring/inlineMethod/Try.java.after
blob: 38cd08db9738e118dd2c1fdfe823df4dc3647398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
public class Try {
    public int test() {
        int result;
        try {
            result = Integer.parseInt("1");
        }
        catch (NumberFormatException ex) {
            throw ex;
        }
        int i = result;
        return i;
    }

}