561
561
* RFC 4647: Matching of Language Tags
562
562
* @spec https://www.rfc-editor.org/info/rfc5646
563
563
* RFC 5646: Tags for Identifying Languages
564
- * @spec https://unicode.org/reports/tr35/
565
- * Unicode Locale Data Markup Language
564
+ * @spec https://www. unicode.org/reports/tr35
565
+ * Unicode Locale Data Markup Language (LDML)
566
566
* @see Builder
567
567
* @see ResourceBundle
568
568
* @see java.text.Format
@@ -1687,14 +1687,14 @@ private String computeLanguageTag() {
1687
1687
* {@return a case folded IETF BCP 47 language tag}
1688
1688
*
1689
1689
* <p>This method formats a language tag into one with case convention
1690
- * that adheres to section 2.1.1. Formatting of Language Tags of RFC5646 .
1690
+ * that adheres to section 2.1.1. Formatting of Language Tags of RFC 5646 .
1691
1691
* This format is defined as: <i>All subtags, including extension and private
1692
1692
* use subtags, use lowercase letters with two exceptions: two-letter
1693
1693
* and four-letter subtags that neither appear at the start of the tag
1694
1694
* nor occur after singletons. Such two-letter subtags are all
1695
1695
* uppercase (as in the tags "en-CA-x-ca" or "sgn-BE-FR") and four-
1696
1696
* letter subtags are titlecase (as in the tag "az-Latn-x-latn").</i> As
1697
- * legacy tags, (defined as "grandfathered" in RFC5646 ) are not always well-formed, this method
1697
+ * legacy tags, (defined as "grandfathered" in RFC 5646 ) are not always well-formed, this method
1698
1698
* will simply case fold a legacy tag to match the exact case convention
1699
1699
* for the particular tag specified in the respective
1700
1700
* {@link ##legacy_tags Legacy tags} table.
@@ -1720,15 +1720,15 @@ private String computeLanguageTag() {
1720
1720
* <p>As the formatting of the case convention is dependent on the
1721
1721
* positioning of certain subtags, callers of this method should ensure
1722
1722
* that the language tag is well-formed, (conforming to section 2.1. Syntax
1723
- * of RFC5646 ).
1723
+ * of RFC 5646 ).
1724
1724
*
1725
1725
* @param languageTag the IETF BCP 47 language tag.
1726
1726
* @throws IllformedLocaleException if {@code languageTag} is not well-formed
1727
1727
* @throws NullPointerException if {@code languageTag} is {@code null}
1728
1728
* @spec https://www.rfc-editor.org/rfc/rfc5646.html#section-2.1
1729
- * RFC5646 2.1. Syntax
1729
+ * RFC 5646: 2.1. Syntax
1730
1730
* @spec https://www.rfc-editor.org/rfc/rfc5646#section-2.1.1
1731
- * RFC5646 2.1.1. Formatting of Language Tags
1731
+ * RFC 5646: 2.1.1. Formatting of Language Tags
1732
1732
* @since 21
1733
1733
*/
1734
1734
public static String caseFoldLanguageTag (String languageTag ) {
0 commit comments