RFR: 8252399: Update mapMulti documentation to use type test pattern instead of instanceof once JEP 375 exits preview [v2]
Patrick Concannon
pconcannon at openjdk.java.net
Fri Feb 12 12:12:02 UTC 2021
On Fri, 12 Feb 2021 11:54:30 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Patrick Concannon has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8252399: Corrected Expand Iterable Example
>
> test/jdk/java/util/stream/examples/JavadocExamples.java line 59:
>
>> 57: }
>> 58: }
>> 59: private void expandIterable(Object o, Consumer<Object> c) { }
>
> It would be better to keep the second example in its original form: with class C ... etc.
Corrected this now. See 1b8ca54
-------------
PR: https://git.openjdk.java.net/jdk/pull/2544
More information about the core-libs-dev
mailing list