Skip to content

Commit 5f7b4b8

Browse files
Justin Lunaotoj
authored andcommitted
8305111: Locale.lookupTag has typo in parameter
Reviewed-by: lancea, iris, naoto
1 parent 83cf28f commit 5f7b4b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.base/share/classes/java/util/Locale.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@ public static Locale lookup(List<LanguageRange> priorityList,
35873587
*
35883588
* @param priorityList user's Language Priority List in which each language
35893589
* tag is sorted in descending order based on priority or weight
3590-
* @param tags language tangs used for matching
3590+
* @param tags language tags used for matching
35913591
* @return the best matching language tag chosen based on priority or
35923592
* weight, or {@code null} if nothing matches.
35933593
* @throws NullPointerException if {@code priorityList} or {@code tags} is

0 commit comments

Comments
 (0)