mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
15 lines
331 B
Java
15 lines
331 B
Java
// "Unwrap 'if' statement" "true-preview"
|
|
class X {
|
|
public String testUnwrap(String f) {
|
|
switch (f) {
|
|
case "A":
|
|
return "A";
|
|
case "B":
|
|
return "b";
|
|
case "D":
|
|
return "D";
|
|
default:
|
|
return null;
|
|
}
|
|
}
|
|
} |