mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 09:04:15 +07:00
GitOrigin-RevId: 7621034db1c5434ab4c0e2c6bbfa18f298ec601f
19 lines
356 B
Java
19 lines
356 B
Java
class Test {
|
|
void test(int x) {
|
|
switch (x){
|
|
case 1:
|
|
newMethod();
|
|
break;
|
|
case 2:
|
|
System.out.println();
|
|
return;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
|
|
private void newMethod() {
|
|
System.out.println(1);
|
|
return;
|
|
}
|
|
} |