> 1. Stream.distinct() is redundant before toSet() collector. Duplicates will
> be collapsed by Collector.
> 2. Stream.sorted() is redundant before toMap() collector. Keys will be
> shuffled by Collector (it's a HashMap in current implementation)
Andrey Turbanov has updated the pull request
On Mon, 27 Sep 2021 11:20:53 GMT, Andrey Turbanov wrote:
> 1. Stream.distinct() is redundant before toSet() collector. Duplicates will
> be collapsed by Collector.
> 2. Stream.sorted() is redundant before toMap() collector. Keys will be
> shuffled by Collector (it's a HashMap in current
1. Stream.distinct() is redundant before toSet() collector. Duplicates will be
collapsed by Collector.
2. Stream.sorted() is redundant before toMap() collector. Keys will be shuffled
by Collector (it's a HashMap in current implementation)
-
Commit messages:
- [PATCH] Remove