mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
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:
|
|
// Not <selection>selectable<caret></selection>
|
|
break;
|
|
default:
|
|
// Gets selected along with case 2
|
|
break;
|
|
}
|
|
}
|
|
} |