mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
16 lines
272 B
Java
16 lines
272 B
Java
// "Replace Stream API chain with loop" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
static class Count {
|
|
}
|
|
|
|
public long test(List<Count> count) {
|
|
long result = 0;
|
|
for (Count count1 : count) {
|
|
result++;
|
|
}
|
|
return result;
|
|
}
|
|
} |