mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 01:43:57 +07:00
13 lines
225 B
Java
13 lines
225 B
Java
// "Replace with old style 'switch' statement" "true"
|
|
import java.util.*;
|
|
|
|
class X {
|
|
boolean x(int i) {
|
|
boolean b;
|
|
switch<caret> (i) {
|
|
case 2 -> throw null;
|
|
default -> b = true;
|
|
}
|
|
return b;
|
|
}
|
|
} |