mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
- fix to reverse 'case default, null' - fix to replace 'case default' with 'default' GitOrigin-RevId: 3762a40c859bb7a13a638614b3200b0005d8e85a
11 lines
265 B
Java
11 lines
265 B
Java
// "Replace 'case default, null' with 'case null, default'" "true-preview"
|
|
class Test {
|
|
void f() {
|
|
Object o = null;
|
|
switch (o) {
|
|
/*some text*/
|
|
case null, default -> {
|
|
System.out.println("1") /*some text2*/;
|
|
}
|
|
} }
|
|
} |