mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 01:41:11 +07:00
GitOrigin-RevId: 7b277cc420b34693ad3791e80c128328ef671fe2
15 lines
336 B
Java
15 lines
336 B
Java
public class Test {
|
|
String test(String s){
|
|
return switch (s) {
|
|
case "a" -> {
|
|
<selection>System.out.println();
|
|
yield "one";</selection>
|
|
}
|
|
case "b" -> {
|
|
System.out.println();
|
|
yield "two";
|
|
}
|
|
default -> "three";
|
|
};
|
|
}
|
|
} |