Refs #7969 and #7103
JDK 14 has been released. It supports advanced switch statements
static void howMany(int k) {
switch (k) {
case 1 -> System.out.println("one");
case 2 -> System.out.println("two");
default -> System.out.println("many");
}
}
When checkstyle encounters such code, it just cannot parse the file.
Refs #7969 and #7103
JDK 14 has been released. It supports advanced switch statements
When checkstyle encounters such code, it just cannot parse the file.