mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +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
10 lines
188 B
Java
10 lines
188 B
Java
// "Unroll loop" "true"
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
void test() {
|
|
fo<caret>r(String s : Arrays.asList("foo", "bar")) System.out.println(s);
|
|
}
|
|
|
|
void foo(boolean b) {}
|
|
} |