On Wed, 8 Nov 2023 21:04:47 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 254:

> 252:      *         Gatherer as input that Gatherer
> 253:      */
> 254:     default <RR> Gatherer<T, ?, RR> andThen(Gatherer<? super R, ?, ? 
> extends RR> that) {

@amaembo @forax Removing the extra type parameter for the RHS state type turned 
out to be remarkably trivial, so thanks for the idea!

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

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

Reply via email to