8023943: Method description fix for String.toLower/UpperCase() methods
authornaoto
Thu, 05 Sep 2013 10:14:53 -0700
changeset 19815 5b15fa787fab
parent 19814 77d0468c8874
child 19816 4136f2a0645d
8023943: Method description fix for String.toLower/UpperCase() methods Reviewed-by: okutsu
jdk/src/share/classes/java/lang/String.java
--- a/jdk/src/share/classes/java/lang/String.java	Thu Sep 05 14:34:22 2013 +0200
+++ b/jdk/src/share/classes/java/lang/String.java	Thu Sep 05 10:14:53 2013 -0700
@@ -2652,7 +2652,7 @@
      * returns {@code "t\u005Cu0131tle"}, where '\u005Cu0131' is the
      * LATIN SMALL LETTER DOTLESS I character.
      * To obtain correct results for locale insensitive strings, use
-     * {@code toLowerCase(Locale.ENGLISH)}.
+     * {@code toLowerCase(Locale.ROOT)}.
      * <p>
      * @return  the {@code String}, converted to lowercase.
      * @see     java.lang.String#toLowerCase(Locale)
@@ -2815,7 +2815,7 @@
      * returns {@code "T\u005Cu0130TLE"}, where '\u005Cu0130' is the
      * LATIN CAPITAL LETTER I WITH DOT ABOVE character.
      * To obtain correct results for locale insensitive strings, use
-     * {@code toUpperCase(Locale.ENGLISH)}.
+     * {@code toUpperCase(Locale.ROOT)}.
      * <p>
      * @return  the {@code String}, converted to uppercase.
      * @see     java.lang.String#toUpperCase(Locale)