mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 21:43:33 +07:00
UnrollLoopAction: fixes according to review IDEA-CR-24513
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
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Unroll loop" "false"
|
||||
// "Unroll loop" "true"
|
||||
class Test {
|
||||
void test() {
|
||||
fo<caret>r(Object x : new Object[] {"one", 1, 1.0, 1.0f}) {
|
||||
|
||||
Reference in New Issue
Block a user