mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
18 lines
304 B
Java
18 lines
304 B
Java
public class Test {
|
|
public int test(int x) {
|
|
int y = 42;
|
|
try {
|
|
y = getY(x, y);
|
|
} catch (ArithmeticException e) {
|
|
}
|
|
return y;
|
|
}
|
|
|
|
private int getY(int x, int y) {
|
|
foo();
|
|
y = y / x;
|
|
return y;
|
|
}
|
|
|
|
void foo() {}
|
|
} |