mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
IDEA-323888 Replace 'side effect' dialog in Java quick-fixes with chooser GitOrigin-RevId: 99e43ec42520ff407ad755c1b05cd5c9320bd273
17 lines
331 B
Java
17 lines
331 B
Java
// "Remove redundant initializer" "true-preview"
|
|
class A {
|
|
void testFor() {
|
|
if (true) {
|
|
read();
|
|
for(int i;; i++) {
|
|
i = 10;
|
|
System.out.println("Hello!");
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
private static int read() {
|
|
System.out.println();
|
|
return 0;
|
|
}} |