diff -r a7f16447085e -r 48e480e56aad src/java.base/share/classes/java/util/spi/CurrencyNameProvider.java --- a/src/java.base/share/classes/java/util/spi/CurrencyNameProvider.java Tue Sep 24 10:04:13 2019 +0000 +++ b/src/java.base/share/classes/java/util/spi/CurrencyNameProvider.java Tue Sep 24 09:43:43 2019 +0100 @@ -63,10 +63,10 @@ * @param locale the desired locale * @return the symbol of the given currency code for the specified locale, or null if * the symbol is not available for the locale - * @throws NullPointerException if currencyCode or - * locale is null - * @throws IllegalArgumentException if currencyCode is not in - * the form of three upper-case letters, or locale isn't + * @throws NullPointerException if {@code currencyCode} or + * {@code locale} is null + * @throws IllegalArgumentException if {@code currencyCode} is not in + * the form of three upper-case letters, or {@code locale} isn't * one of the locales returned from * {@link java.util.spi.LocaleServiceProvider#getAvailableLocales() * getAvailableLocales()}. @@ -84,13 +84,13 @@ * @param locale the desired locale * @return the name for the currency that is appropriate for display to the * user, or null if the name is not available for the locale - * @throws IllegalArgumentException if currencyCode is not in - * the form of three upper-case letters, or locale isn't + * @throws IllegalArgumentException if {@code currencyCode} is not in + * the form of three upper-case letters, or {@code locale} isn't * one of the locales returned from * {@link java.util.spi.LocaleServiceProvider#getAvailableLocales() * getAvailableLocales()}. - * @throws NullPointerException if currencyCode or - * locale is null + * @throws NullPointerException if {@code currencyCode} or + * {@code locale} is {@code null} * @since 1.7 */ public String getDisplayName(String currencyCode, Locale locale) {