RFR: 8029944: (xs) Primitive Stream reduce method documentation pseudo code misidentifies apply method

Mike Duigou mike.duigou at oracle.com
Wed Dec 11 01:05:21 UTC 2013


Hello all;

This is a documentation only fix for a bug reported by Michael McMahon. The reduce methods of the primitive streams classes currently reference an "apply" method rather than the appropriate applyAsInt, applyAsLong or applyAsDouble methods.

http://cr.openjdk.java.net/~mduigou/JDK-8029944/0/

Michael also suggested synchronizing the names accumulator and op but I declined (thus far) to make this change. If there is consensus that this would be helpful I can amend the changeset.

Mike


More information about the core-libs-dev mailing list