8024874: Copy-paste typo in the spec for j.u.Comparator.thenComparing(Function, Comparator)

Reviewed-by: mduigou
This commit is contained in:
Henry Jen 2013-09-16 10:28:20 -07:00
parent 4d540aa581
commit 43e0cb6327

View File

@ -230,7 +230,7 @@ public interface Comparator<T> {
* @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