changeset 57171:de2896bc018a

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
author jboes
date Wed, 27 Nov 2019 15:13:58 +0000
parents 498ce2452972
children 17d242844fc9
files src/java.base/share/classes/java/util/Arrays.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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},