mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
StreamToLoopInspection: support groupingBy(..., counting()/summingInt()/summingLong()/summingDouble()/mapping(summing...))
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import java.util.stream.IntStream;
|
||||
|
||||
public class Main {
|
||||
private static long check(int start, double val) {
|
||||
long count = 0;
|
||||
long count = 0L;
|
||||
int bound = start * 200;
|
||||
for (int x = start; x <= bound; x++) {
|
||||
double v = 1.0 / x;
|
||||
|
||||
Reference in New Issue
Block a user