mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 07:32:21 +07:00
13 lines
273 B
Java
13 lines
273 B
Java
// "Replace with enhanced 'switch' statement" "false"
|
|
import java.util.*;
|
|
|
|
class SwitchExpressionMigration {
|
|
private static String m(int n) {
|
|
switch<caret> (n) {
|
|
case 1:
|
|
System.out.println("a");
|
|
case 2:
|
|
System.out.println("b");
|
|
}
|
|
}
|
|
} |