mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 12:10:37 +07:00
GitOrigin-RevId: 72f8e7f6c9080db7cb0b89c0ed876eb949171e8f
11 lines
250 B
Java
11 lines
250 B
Java
// "Replace with old style 'switch' statement" "true"
|
|
import java.util.*;
|
|
|
|
class SwitchExpressionMigration {
|
|
private void matchingSwitchError(Object obj) {
|
|
int i = switch<caret> (obj) {
|
|
case String s -> 0;
|
|
default -> 1;
|
|
};
|
|
}
|
|
} |