From 9db7c0ddb64a08743349b997236ddec11008d011 Mon Sep 17 00:00:00 2001 From: yura182 <37336437+yura182@users.noreply.github.com> Date: Thu, 20 Feb 2020 21:30:47 +0200 Subject: [PATCH] Update java8.md --- java8.md | 1 - 1 file changed, 1 deletion(-) 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); ```