8305111: Locale.lookupTag has typo in parameter

Reviewed-by: lancea, iris, naoto
This commit is contained in:
Justin Lu 2023-03-30 22:33:59 +00:00 committed by Naoto Sato
parent 83cf28f996
commit 5f7b4b8e75

View file

@ -3587,7 +3587,7 @@ public final class Locale implements Cloneable, Serializable {
*
* @param priorityList user's Language Priority List in which each language
* tag is sorted in descending order based on priority or weight
* @param tags language tangs used for matching
* @param tags language tags used for matching
* @return the best matching language tag chosen based on priority or
* weight, or {@code null} if nothing matches.
* @throws NullPointerException if {@code priorityList} or {@code tags} is