mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
18 lines
328 B
Java
18 lines
328 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;
|
|
}
|
|
}
|
|
|
|
void foobar() {
|
|
int max = Math.max(FOO, BAR);
|
|
foo(max);
|
|
}
|
|
} |