// "Fix all 'Stream API call chain can be replaced with loop' problems in file" "true" import java.util.List; public class Main { public long test(List list) { return list.stream().count(); } public void testAssign(List list) { long x = list.stream().count(); System.out.println(x); } static class Count { } public long testNameConflict(List count) { return count.stream().count(); } public long testNoBlock(List list) { if(!list.isEmpty()) return list.stream().count(); return -1; } }