mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-05 18:24:13 +07:00
18 lines
303 B
Plaintext
18 lines
303 B
Plaintext
class X {
|
|
void testSwitch(int x) {
|
|
if(x >= 0 && x < 10 && x % 2 == 0) {
|
|
<spot>switch(x) {
|
|
case 0:
|
|
break;
|
|
case 2:
|
|
break;
|
|
case 4:
|
|
break;
|
|
case 6:
|
|
break;
|
|
case 8:
|
|
break;
|
|
}</spot>
|
|
}
|
|
}
|
|
} |