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