mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 03:37:58 +07:00
StreamToLoop: support parenthesized collectors
This commit is contained in:
@@ -14,7 +14,7 @@ public class Main {
|
||||
}
|
||||
|
||||
public static long testCounting(List<String> strings) {
|
||||
return strings.stream().filter(s -> !s.isEmpty()).collect(Collectors.counting());
|
||||
return strings.stream().filter(s -> !s.isEmpty()).collect((Collectors.counting()));
|
||||
}
|
||||
|
||||
public static Optional<String> testMaxBy(List<String> strings) {
|
||||
|
||||
Reference in New Issue
Block a user