RFR(xs): 8245970: IntStream.html#reduce doc should not mention average

Lance Andersen lance.andersen at oracle.com
Fri May 29 10:38:11 UTC 2020


Hi Conor,

I believe you want to reference https://bugs.openjdk.java.net/browse/JDK-8242281 <https://bugs.openjdk.java.net/browse/JDK-8242281> as the issue below ,https://bugs.openjdk.java.net/browse/JDK-8245970, is the CSR that was withdrawn.  

Please add the label noreg-doc prior to finalizing your fix.

The change looks fine otherwise.

Best
Lance

> On May 29, 2020, at 5:04 AM, Conor Cleary <conor.cleary at oracle.com> wrote:
> 
> Hi,
> 
> The method-level documentation of Intstream::reduce(int, IntBinaryOperator) mentions the average function as a case of reduction even though the function cannot be used with the reduce method. This might cause confusion, this fix therefore removes the mention of the average function from the @apiNote.
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8245970
> webrev: http://cr.openjdk.java.net/~jboes/ccleary/webrevs/8242281/webrev.00/
> 
> Regards,
> Conor
> 

 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>





More information about the core-libs-dev mailing list