mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-18 07:15:51 +07:00
20 lines
351 B
Java
20 lines
351 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;
|
|
case 8:
|
|
break;
|
|
}
|
|
}
|
|
|
|
void foobar() {
|
|
foo(FOO);
|
|
foo(BAR);
|
|
}
|
|
} |