8297685: Typo in NullPointerException description specified by Locale.lookup
Reviewed-by: naoto, lancea, jpai
This commit is contained in:
parent
3ce0042158
commit
ae5b1f7656
@ -3554,7 +3554,7 @@ public final class Locale implements Cloneable, Serializable {
|
|||||||
* @param locales {@code Locale} instances used for matching
|
* @param locales {@code Locale} instances used for matching
|
||||||
* @return the best matching {@code Locale} instance chosen based on
|
* @return the best matching {@code Locale} instance chosen based on
|
||||||
* priority or weight, or {@code null} if nothing matches.
|
* priority or weight, or {@code null} if nothing matches.
|
||||||
* @throws NullPointerException if {@code priorityList} or {@code tags} is
|
* @throws NullPointerException if {@code priorityList} or {@code locales} is
|
||||||
* {@code null}
|
* {@code null}
|
||||||
*
|
*
|
||||||
* @since 1.8
|
* @since 1.8
|
||||||
|
Loading…
Reference in New Issue
Block a user