mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 05:20:30 +07:00
GitOrigin-RevId: fe4e2187916c721211c6ed9d7c1f1456fcf2d817
15 lines
261 B
Java
15 lines
261 B
Java
// "Replace with enhanced 'switch' statement" "true-preview"
|
|
import java.util.*;
|
|
|
|
class CommentsInside {
|
|
|
|
void test(int x) {
|
|
sw<caret>itch (x) {
|
|
case 0:
|
|
// nothing to do
|
|
break;
|
|
case 1:
|
|
System.out.println(x);
|
|
}
|
|
}
|
|
} |