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

Viktor Klang vklang at openjdk.org
Tue Nov 14 07:24:43 UTC 2023


On Mon, 13 Nov 2023 23:48:25 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Minor improvements to Gatherer Javadoc
>
> src/java.base/share/classes/java/util/stream/Gatherer.java line 166:
> 
>> 164:  *     arguments passed to the combiner function, and the argument passed to the
>> 165:  *     finisher function must be the result of a previous invocation of the
>> 166:  *     initializer, integrator, or combiner functions.</li>
> 
> the integrator returns a boolean, so is it just the result of a previous invocation of the initializer or combiner functions? (Similarly for the next clause.)

Nice catch—thanks, Paul!

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

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


More information about the core-libs-dev mailing list