8272119: Typo in JDK documentation (a -> an)

Reviewed-by: dfuchs, mchung, iris
This commit is contained in:
Viktor Klang 2023-04-06 15:50:13 +00:00 committed by Alan Bateman
parent 536ad9df1a
commit 08fbb7bb5e

@ -629,7 +629,7 @@ public final class Collectors {
}
/**
* Returns a {@code Collector} that produces the sum of a integer-valued
* Returns a {@code Collector} that produces the sum of an integer-valued
* function applied to the input elements. If no elements are present,
* the result is 0.
*