blob: 4fb5fa9cd772a8725e2ebc4e8199c743b663660f [file]
// "Replace with 'switch' expression" "true"
import java.util.*;
class SwitchExpressionMigration {
private static void m(String s) {
int result = 0;
switch<caret>(s) {
case "a": result = 1; break;
case "b": result = 2; break;
}
}
}