mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 09:04:15 +07:00
GitOrigin-RevId: 12e91605bf8901d98d56b8d8dc3a348d4b1ae935
18 lines
371 B
Java
18 lines
371 B
Java
public class TestSwitchSelect
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
switch (type) {
|
|
case 1:
|
|
// Selectable
|
|
break;
|
|
|
|
case 2:
|
|
<selection>// Not selectable<caret></selection>
|
|
break;
|
|
default:
|
|
// Gets selected along with case 2
|
|
break;
|
|
}
|
|
}
|
|
} |