diff --git a/java8.md b/java8.md index eee7a7d..3590405 100644 --- a/java8.md +++ b/java8.md @@ -714,7 +714,6 @@ Stream .of(1, 2, 3, 2, 1) .map(s -> s * s) .distinct() - .collect(Collectors.toList()) .forEach(System.out::println); ```