RFR: JDK-8319123 : Implementation of JEP-461: Stream Gatherers (Preview) [v2]

Per Minborg pminborg at openjdk.org
Thu Nov 9 08:31:08 UTC 2023


On Thu, 9 Nov 2023 08:27:26 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> 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 509:
> 
>> 507:     @PreviewFeature(feature = PreviewFeature.Feature.STREAM_GATHERERS)
>> 508:     interface Integrator<A, T, R> {
>> 509:         /** Integrate is the method which given:
> 
> Nit: Begin on a separate line

I think the spec should start with "Integrates ..."

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

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


More information about the core-libs-dev mailing list