mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
IDEA-163405 Migration from Stream API back to for loops: iteration#2
This commit is contained in:
@@ -9,8 +9,8 @@ public class Main {
|
||||
long limit = 20;
|
||||
for (String x = ""; ; x = x + "a") {
|
||||
if (limit-- == 0) break;
|
||||
int i = x.length();
|
||||
stat.accept(i);
|
||||
int length = x.length();
|
||||
stat.accept(length);
|
||||
}
|
||||
return stat;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user