From 81182050f567673fc3180764b3645fb76ca85dc5 Mon Sep 17 00:00:00 2001 From: gjoranv Date: Tue, 20 Nov 2018 14:46:37 +0100 Subject: Generate html5 javadoc --- linguistics/src/main/java/com/yahoo/language/Language.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'linguistics/src/main/java/com/yahoo/language') diff --git a/linguistics/src/main/java/com/yahoo/language/Language.java b/linguistics/src/main/java/com/yahoo/language/Language.java index ab8bcd4459f..655a9003fb1 100644 --- a/linguistics/src/main/java/com/yahoo/language/Language.java +++ b/linguistics/src/main/java/com/yahoo/language/Language.java @@ -529,10 +529,10 @@ public enum Language { } /** - *

Convenience method for calling fromLocale(LocaleFactory.fromLanguageTag(languageTag)).

+ *

Convenience method for calling fromLocale(LocaleFactory.fromLanguageTag(languageTag)).

* - * @param languageTag The language tag for which the Language to return. - * @return the corresponding Language, or {@link #UNKNOWN} if not known. + * @param languageTag The language tag for which the Language to return. + * @return the corresponding Language, or {@link #UNKNOWN} if not known. */ public static Language fromLanguageTag(String languageTag) { if (languageTag == null) return UNKNOWN; @@ -540,7 +540,7 @@ public enum Language { } /** - *

Returns the Language whose {@link #languageCode()} is equal to locale.getLanguage(), with + *

Returns the Language whose {@link #languageCode()} is equal to locale.getLanguage(), with * the following additions:

* * - * @param locale The locale for which the Language to return. - * @return The corresponding Language, or {@link #UNKNOWN} if not known. + * @param locale The locale for which the Language to return. + * @return The corresponding Language, or {@link #UNKNOWN} if not known. */ public static Language fromLocale(Locale locale) { String str = locale.getLanguage(); @@ -582,7 +582,7 @@ public enum Language { /** * Returns the language from an encoding, or {@link #UNKNOWN} if it cannot be determined. * - * @param encoding The name of the encoding to derive the Language from. + * @param encoding The name of the encoding to derive the Language from. * @return the language given by the encoding, or {@link #UNKNOWN} if not determined. */ public static Language fromEncoding(String encoding) { -- cgit v1.2.3