RFR (XS): 8231161: Wrong return type in code sample in Collector API documentation

Stuart Marks stuart.marks at oracle.com
Thu Oct 3 17:44:04 UTC 2019



On 10/2/19 2:36 AM, Julia Boes wrote:
> This is a minor fix of the Collector class-level documentation, where the wrong 
> type declaration was used in a code sample.
> 
> While at it, I added a compilation test for all code samples of this class-level 
> javadoc.
> 
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8231161
> 
> Webrev: http://cr.openjdk.java.net/~jboes/webrevs/8231161/webrev.00/index.html

Hi Julia,

Thanks for this small fix and for writing the test.

A couple very tiny comments on the test:
  - sort the import lines
  - remove extra blank lines at end

Otherwise it looks great.

Did you need a sponsor for this change?

s'marks


More information about the core-libs-dev mailing list