mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
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>
|
|
}
|
|
}
|
|
} |