mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-23 07:14:21 +07:00
20 lines
406 B
Java
20 lines
406 B
Java
public class Test {
|
|
public static final int FOO = 0;
|
|
public static final int BAR = 1;
|
|
|
|
void foo(int i) {
|
|
switch (i) {
|
|
case FOO:
|
|
break;
|
|
case BAR:
|
|
break;
|
|
}
|
|
int k = Math.max(i * i, i + i);
|
|
switch (k) {
|
|
case FOO:
|
|
break;
|
|
case BAR:
|
|
break;
|
|
}
|
|
}
|
|
} |