mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
11 lines
279 B
Java
11 lines
279 B
Java
// "Replace with enhanced 'switch' statement" "true"
|
|
import java.util.*;
|
|
|
|
class SwitchExpressionMigration {
|
|
private static void m() {
|
|
switch (s) {
|
|
case "a" -> throw new NullPointerException();
|
|
default -> throw new NullPointerException();
|
|
}
|
|
}
|
|
} |