RFR: 8279361: Error in documentation of third Stream.reduce method

Viktor Klang (Oracle) duke at openjdk.org
Wed Sep 28 21:52:21 UTC 2022


This JavaDoc change attempts to shine some light on the `combiner`-function as it relates to the third variant of `Stream.reduce` since it according to the bug submission in JBS can be confusing that the `combiner` is not mentioned in the code example in the documentation.

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

Commit messages:
 - 8279361 - Error in documentation of thrid Stream.reduce method

Changes: https://git.openjdk.org/jdk/pull/10469/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10469&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8279361
  Stats: 10 lines in 1 file changed: 6 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/10469.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10469/head:pull/10469

PR: https://git.openjdk.org/jdk/pull/10469


More information about the core-libs-dev mailing list