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

Mike Duigou mike.duigou at oracle.com
Tue Dec 10 17:05:21 PST 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.


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.


More information about the lambda-dev mailing list