Skip to content

Commit ae5b1f7

Browse files
justin-curtis-lunaotoj
authored andcommitted
8297685: Typo in NullPointerException description specified by Locale.lookup
Reviewed-by: naoto, lancea, jpai
1 parent 3ce0042 commit ae5b1f7

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
@@ -3554,7 +3554,7 @@ public static List<String> filterTags(List<LanguageRange> priorityList,
35543554
* @param locales {@code Locale} instances used for matching
35553555
* @return the best matching {@code Locale} instance chosen based on
35563556
* priority or weight, or {@code null} if nothing matches.
3557-
* @throws NullPointerException if {@code priorityList} or {@code tags} is
3557+
* @throws NullPointerException if {@code priorityList} or {@code locales} is
35583558
* {@code null}
35593559
*
35603560
* @since 1.8

0 commit comments

Comments
 (0)