mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 06:01:00 +07:00
GitOrigin-RevId: 840ad7d5fe656b7cc443b67df30f60b0bb35b41d
15 lines
315 B
Java
15 lines
315 B
Java
// "Fix all 'Statement can be replaced with enhanced 'switch'' problems in file" "true"
|
|
import java.util.*;
|
|
|
|
class EndOfLineComment {
|
|
public static String m(int x) {
|
|
swit<caret>ch (x) {
|
|
case 0:
|
|
return "foo";
|
|
|
|
default:
|
|
System.out.print("bar"); // !
|
|
return "bar";
|
|
}
|
|
}
|
|
} |