mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
GitOrigin-RevId: 5c88546b27597aba2b75141eb49439eb1a779dc8
17 lines
315 B
Java
17 lines
315 B
Java
// "Replace with enhanced 'switch' statement" "true-preview"
|
|
|
|
class NotDefenitessignment1 {
|
|
void test(int x) {
|
|
String s = "1";
|
|
Runnable runnable = () -> {
|
|
switc<caret>h (x) {
|
|
case 1:
|
|
s = "2";
|
|
break;
|
|
case 2:
|
|
s = "3";
|
|
break;
|
|
}
|
|
};
|
|
}
|
|
} |