On Wed, 8 Nov 2023 21:08:03 GMT, Viktor Klang <vkl...@openjdk.org> wrote:

>> This Pull-Request implements [JEP-461](https://openjdk.org/jeps/461)
>
> Viktor Klang has updated the pull request incrementally with two additional 
> commits since the last revision:
> 
>  - Addressing review feedback
>  - Make Gatherer.andThen take a wildcard for the rhs Gatherer state type

src/java.base/share/classes/java/util/stream/Gatherers.java line 54:

> 52: @PreviewFeature(feature = PreviewFeature.Feature.STREAM_GATHERERS)
> 53: public final class Gatherers {
> 54:     private Gatherers() { }

Suggest adding the comment     // Suppresses default constructor, ensuring 
non-instantiability.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1387623424

Reply via email to