mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
14 lines
244 B
Java
14 lines
244 B
Java
// "Create local variable 'x2'" "true-preview"
|
|
|
|
class A {
|
|
public void foo() {
|
|
var x = switch (x2<caret>)
|
|
{
|
|
case "bar" ->
|
|
{
|
|
yield "bar";
|
|
}
|
|
default -> "foo";
|
|
};
|
|
}
|
|
} |