mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
1. Check that loop parameter is not written 2. Support List.of, Collections.singleton, Collections.singletonList 3. Support if w/o braces 4. Support break not in last position
13 lines
218 B
Java
13 lines
218 B
Java
// "Unroll loop" "false"
|
|
class Test {
|
|
void test() {
|
|
f<caret>or(int x : new int[]{1, 2, 3}) {
|
|
System.out.println(x);
|
|
x = 6;
|
|
x++;
|
|
System.out.println(x);
|
|
}
|
|
}
|
|
|
|
void foo(boolean b) {}
|
|
} |