mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 14:30:49 +07:00
IDEA-292909 GitOrigin-RevId: b8da95df3641add9c696b864ac624237f43a29e2
11 lines
225 B
Java
11 lines
225 B
Java
// "Replace with old style 'switch' statement" "true"
|
|
import java.util.*;
|
|
|
|
class SwitchExpressionMigration {
|
|
private static void m(int x) {
|
|
var y = switch<caret> (x) {
|
|
case 1 -> 1;
|
|
default -> 0;
|
|
};
|
|
}
|
|
} |