8234799: javadoc of java.util.Arrays.compare(T[] a, T[] b) misses the word "less"
authorjboes
Wed, 27 Nov 2019 15:13:58 +0000
changeset 59298 de2896bc018a
parent 59297 498ce2452972
child 59299 17d242844fc9
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
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.)
      *
      * <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},