mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 21:57:41 +07:00
GitOrigin-RevId: 5c88546b27597aba2b75141eb49439eb1a779dc8
13 lines
270 B
Java
13 lines
270 B
Java
// "Replace with enhanced 'switch' statement" "true-preview"
|
|
|
|
class NotDefenitessignment1 {
|
|
void test(int x) {
|
|
String s = "1";
|
|
Runnable runnable = () -> {
|
|
switch (x) {
|
|
case 1 -> s = "2";
|
|
case 2 -> s = "3";
|
|
}
|
|
};
|
|
}
|
|
} |