mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
CountingLoop: support parenthesized condition
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import java.util.List;
|
||||
public class Main {
|
||||
public void testForLoop() {
|
||||
List<Integer> result = new ArrayList<>();
|
||||
for (in<caret>t i = 0; 10 >= i; i++) {
|
||||
for (in<caret>t i = 0; (10 >= i); i++) {
|
||||
result.add(i);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user