diff -r a7f16447085e -r 48e480e56aad src/java.base/share/classes/java/util/spi/TimeZoneNameProvider.java --- a/src/java.base/share/classes/java/util/spi/TimeZoneNameProvider.java Tue Sep 24 10:04:13 2019 +0000 +++ b/src/java.base/share/classes/java/util/spi/TimeZoneNameProvider.java Tue Sep 24 09:43:43 2019 +0100 @@ -57,7 +57,7 @@ * "tzdata", and the specification of the data format is part of the zic.8 * man page, which is contained in a file whose name starts with "tzcode". *

- * If daylight is true, the method should return a name + * If {@code daylight} is true, the method should return a name * appropriate for daylight saving time even if the specified time zone * has not observed daylight saving time in the past. * @@ -68,11 +68,11 @@ * @param locale the desired locale * @return the human-readable name of the given time zone in the * given locale, or null if it's not available. - * @throws IllegalArgumentException if style is invalid, - * or locale isn't one of the locales returned from + * @throws IllegalArgumentException if {@code style} is invalid, + * or {@code locale} isn't one of the locales returned from * {@link java.util.spi.LocaleServiceProvider#getAvailableLocales() * getAvailableLocales()}. - * @throws NullPointerException if ID or locale + * @throws NullPointerException if {@code ID} or {@code locale} * is null * @see java.util.TimeZone#getDisplayName(boolean, int, java.util.Locale) */ @@ -96,11 +96,11 @@ * @param locale the desired locale * @return the human-readable generic name of the given time zone in the * given locale, or {@code null} if it's not available. - * @throws IllegalArgumentException if style is invalid, - * or locale isn't one of the locales returned from + * @throws IllegalArgumentException if {@code style} is invalid, + * or {@code locale} isn't one of the locales returned from * {@link LocaleServiceProvider#getAvailableLocales() * getAvailableLocales()}. - * @throws NullPointerException if ID or locale + * @throws NullPointerException if {@code ID} or {@code locale} * is {@code null} * @since 1.8 */