mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 95c10072de86b6c86354823c9dec8a828bebcef4
15 lines
259 B
Java
15 lines
259 B
Java
// "Remove redundant initializer" "true-preview"
|
|
class A {
|
|
void test2(){
|
|
|
|
String str = switch<caret> (1) {
|
|
case 1 -> "a";
|
|
default ->
|
|
{
|
|
str = "b";
|
|
System.out.println(str);
|
|
yield str + "c";
|
|
}
|
|
};
|
|
}
|
|
} |