mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 13:20:53 +07:00
13 lines
237 B
Java
13 lines
237 B
Java
// "Replace Stream API chain with loop" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public void test(List<String> list) {
|
|
long x = 0;
|
|
for (String s : list) {
|
|
x++;
|
|
}
|
|
System.out.println(x);
|
|
}
|
|
} |