StreamToLoopInspection: support groupingBy(..., counting()/summingInt()/summingLong()/summingDouble()/mapping(summing...))

This commit is contained in:
Tagir Valeev
2017-01-24 17:54:30 +07:00
parent 80e09a9e59
commit 2d57e55143
40 changed files with 210 additions and 34 deletions

View File

@@ -7,7 +7,7 @@ import static java.util.Arrays.asList;
public class Main {
public static long test(List<String> list) {
long count = 0;
long count = 0L;
for (String l : list) {
if (l != null) {
(new Consumer<String>() {