diff -r 06122340dbf7 -r 2c55106dc37b jdk/src/java.base/share/classes/java/text/Collator.java --- a/jdk/src/java.base/share/classes/java/text/Collator.java Tue Aug 29 17:29:19 2017 +0200 +++ b/jdk/src/java.base/share/classes/java/text/Collator.java Tue Aug 29 12:16:28 2017 -0700 @@ -88,7 +88,7 @@ * comparisons. Four strengths are provided: PRIMARY, * SECONDARY, TERTIARY, and IDENTICAL. * The exact assignment of strengths to language features is - * locale dependant. For example, in Czech, "e" and "f" are considered + * locale dependent. For example, in Czech, "e" and "f" are considered * primary differences, while "e" and "ě" are secondary differences, * "e" and "E" are tertiary differences and "e" and "e" are identical. * The following shows how both case and accents could be ignored for @@ -132,7 +132,7 @@ /** * Collator strength value. When set, only PRIMARY differences are * considered significant during comparison. The assignment of strengths - * to language features is locale dependant. A common example is for + * to language features is locale dependent. A common example is for * different base letters ("a" vs "b") to be considered a PRIMARY difference. * @see java.text.Collator#setStrength * @see java.text.Collator#getStrength @@ -141,7 +141,7 @@ /** * Collator strength value. When set, only SECONDARY and above differences are * considered significant during comparison. The assignment of strengths - * to language features is locale dependant. A common example is for + * to language features is locale dependent. A common example is for * different accented forms of the same base letter ("a" vs "\u00E4") to be * considered a SECONDARY difference. * @see java.text.Collator#setStrength @@ -151,7 +151,7 @@ /** * Collator strength value. When set, only TERTIARY and above differences are * considered significant during comparison. The assignment of strengths - * to language features is locale dependant. A common example is for + * to language features is locale dependent. A common example is for * case differences ("a" vs "A") to be considered a TERTIARY difference. * @see java.text.Collator#setStrength * @see java.text.Collator#getStrength @@ -161,7 +161,7 @@ /** * Collator strength value. When set, all differences are * considered significant during comparison. The assignment of strengths - * to language features is locale dependant. A common example is for control + * to language features is locale dependent. A common example is for control * characters ("\u0001" vs "\u0002") to be considered equal at the * PRIMARY, SECONDARY, and TERTIARY levels but different at the IDENTICAL * level. Additionally, differences between pre-composed accents such as