Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8166993

typo in java.util.Locale javadoc

XMLWordPrintable

    • b139
    • Not verified

      A colleague reports this typo:

      diff -r 07a3945d54f5 src/java.base/share/classes/java/util/Locale.java
      --- a/src/java.base/share/classes/java/util/Locale.java Tue Sep 27 11:46:01 2016 +0100
      +++ b/src/java.base/share/classes/java/util/Locale.java Fri Sep 30 15:19:47 2016 +0100
      @@ -1027,7 +1027,7 @@
            * not contain ALL valid codes that can be used to create Locales.
            * </ul>
            *
      - * @return Am array of ISO 639 two-letter language codes.
      + * @return An array of ISO 639 two-letter language codes.
            */
           public static String[] getISOLanguages() {
               if (isoLanguages == null) {

            rgoel Rachna Goel (Inactive)
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: