mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
15 lines
309 B
Java
15 lines
309 B
Java
// "Create missing switch branches with null branch" "true-preview"
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Test {
|
|
public static void main(String[] args) {
|
|
test(true);
|
|
}
|
|
|
|
public void test(@Nullable Boolean b) {
|
|
switch (b<caret>) {
|
|
|
|
}
|
|
}
|
|
} |