Mercurial > hg > openjdk > jdk8 > jdk
changeset 8068:86aa8e7503e9
8024874: Copy-paste typo in the spec for j.u.Comparator.thenComparing(Function, Comparator)
Reviewed-by: mduigou
author | henryjen |
---|---|
date | Mon, 16 Sep 2013 10:28:20 -0700 |
parents | db0fc2b71298 |
children | 657482758408 |
files | src/share/classes/java/util/Comparator.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/java/util/Comparator.java Mon Sep 16 14:51:48 2013 +0100 +++ b/src/share/classes/java/util/Comparator.java Mon Sep 16 10:28:20 2013 -0700 @@ -230,7 +230,7 @@ * @param keyComparator the {@code Comparator} used to compare the sort key * @return a lexicographic-order comparator composed of this comparator * and then comparing on the key extracted by the keyExtractor function - * @throws NullPointerException if the argument is null. + * @throws NullPointerException if either argument is null. * @see #comparing(Function, Comparator) * @see #thenComparing(Comparator) * @since 1.8