summaryrefslogtreecommitdiff
path: root/libjava/java/util
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-10 18:26:59 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-10 18:26:59 +0000
commit3f4246de9ff615a3b697825b2cb4efb717bb6d15 (patch)
treea9fad6e33092a3847cd00b6c7748e6866c4e556a /libjava/java/util
parent9be63d8c9bb3b01cd31511c050690d45e39ee9c5 (diff)
downloadgcc-3f4246de9ff615a3b697825b2cb4efb717bb6d15.tar.gz
2005-01-10 Michael Koch <konqueror@gmx.de>
PR libgcj/18014 * java/util/Locale.java (Locale): Don't uppercase variant. (getISOCountries): Fixed typo in javadoc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93150 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util')
-rw-r--r--libjava/java/util/Locale.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/libjava/java/util/Locale.java b/libjava/java/util/Locale.java
index 54fd097a0ef..f4498c69f3a 100644
--- a/libjava/java/util/Locale.java
+++ b/libjava/java/util/Locale.java
@@ -35,6 +35,7 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
+
package java.util;
import java.io.IOException;
@@ -74,7 +75,7 @@ import java.io.Serializable;
* @see java.text.Collator
* @author Jochen Hoenicke
* @author Paul Fisher
- * @author Eric Blake <ebb9@email.byu.edu>
+ * @author Eric Blake (ebb9@email.byu.edu)
* @since 1.1
* @status updated to 1.4
*/
@@ -233,7 +234,7 @@ public final class Locale implements Serializable, Cloneable
{
language = convertLanguage(language).intern();
country = country.toUpperCase().intern();
- variant = variant.toUpperCase().intern();
+ variant = variant.intern();
}
this.language = language;
this.country = country;
@@ -321,7 +322,7 @@ public final class Locale implements Serializable, Cloneable
* Returns a list of all 2-letter uppercase country codes as defined
* in ISO 3166.
*
- * @return a list of acceptible country codes
+ * @return a list of acceptable country codes
*/
public static String[] getISOCountries()
{