mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 23:46:49 +07:00
GitOrigin-RevId: 7e0310220f13821a87cc0e231d12f403af65b4e1
12 lines
257 B
Java
12 lines
257 B
Java
// "Replace with 'switch' expression" "false"
|
|
import java.util.*;
|
|
|
|
class SwitchExpressionMigration {
|
|
private static void m(String s) {
|
|
int result;
|
|
switch<caret>(s) {
|
|
case "a": result = 1; break;
|
|
case "b": result = 2; break;
|
|
}
|
|
}
|
|
} |