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
--- 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.)
*
* <p>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.
*
* <p>The comparison is consistent with {@link #equals(Object[], Object[]) equals},