mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
19 lines
330 B
Java
19 lines
330 B
Java
// "Create missing switch branch 'false'" "true-preview"
|
|
import java.util.List;
|
|
|
|
class Test {
|
|
public static void main(String[] args) {
|
|
test(true);
|
|
}
|
|
|
|
private static final boolean yes = true;
|
|
|
|
public static void test(boolean b) {
|
|
switch (b){
|
|
case yes -> {
|
|
}
|
|
case false -> {
|
|
}
|
|
}
|
|
}
|
|
} |