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/Gatherer.java line 306:

> 304:      * @param <T> the type of input elements for the new gatherer
> 305:      * @param <R> the type of results for the new gatherer
> 306:      * @throws NullPointerException if the argument is null

I think we can specify that gatherers are null averse in a single place as we 
do for Stream an the likes. Then we do not have to nag about @throws NPE

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

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

Reply via email to