mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 21:55:38 +07:00
GitOrigin-RevId: 0cf0aa8d5875e2bc52dfaa96c1259ccb314bbd96
11 lines
226 B
Java
11 lines
226 B
Java
public class Test {
|
|
public int test(int x) {
|
|
int y = 42;
|
|
try {
|
|
<selection>y = y + x;
|
|
y = y / x;</selection>
|
|
} catch (ArithmeticException e) {
|
|
}
|
|
return y;
|
|
}
|
|
} |