# HG changeset patch # User jboes # Date 1574867638 0 # Node ID de2896bc018ac33ef451ed5df49b29e33242228b # Parent 498ce2452972fe294640dbe841f9e34beff4613b 8234799: javadoc of java.util.Arrays.compare(T[] a, T[] b) misses the word "less" Summary: Add word "less" to method-level javadoc Reviewed-by: dfuchs, lancea diff -r 498ce2452972 -r de2896bc018a src/java.base/share/classes/java/util/Arrays.java --- a/src/java.base/share/classes/java/util/Arrays.java Wed Nov 27 10:23:40 2019 -0800 +++ b/src/java.base/share/classes/java/util/Arrays.java Wed Nov 27 15:13:58 2019 +0000 @@ -7117,10 +7117,10 @@ * and proper prefix.) * *
A {@code null} array reference is considered lexicographically less - * than a non-{@code null} array reference. Two {@code null} array + * than a non-{@code null} array reference. Two {@code null} array * references are considered equal. - * A {@code null} array element is considered lexicographically than a - * non-{@code null} array element. Two {@code null} array elements are + * A {@code null} array element is considered lexicographically less than a + * non-{@code null} array element. Two {@code null} array elements are * considered equal. * *
The comparison is consistent with {@link #equals(Object[], Object[]) equals},