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

This commit is contained in:
Tagir Valeev
2017-01-24 17:56:19 +07:00
parent 80e09a9e59
commit 2d57e55143
40 changed files with 210 additions and 34 deletions
@@ -6,7 +6,7 @@ import java.util.function.LongSupplier;
public class Main {
private static void test(List<String> list) {
// and filter!
long count1 = 0;
long count1 = 0L;
for (String s : list) {
if (!s/* comment */.isEmpty()) {
count1++;