harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r514595 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Locale.java
Date Mon, 05 Mar 2007 07:54:55 GMT
Author: pyang
Date: Sun Mar  4 23:54:55 2007
New Revision: 514595

URL: http://svn.apache.org/viewvc?view=rev&rev=514595
Log:
apply patch for HARMONY-3155 ([classlib][luni]languageCode in java.util.Locale could apply
this feature also)

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Locale.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Locale.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Locale.java?view=diff&rev=514595&r1=514594&r2=514595
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Locale.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/Locale.java Sun Mar
 4 23:54:55 2007
@@ -218,7 +218,7 @@
         if (language == null || country == null || variant == null) {
             throw new NullPointerException();
         }
-        languageCode = language.toLowerCase();
+        languageCode = Util.toASCIILowerCase(language);
         // Map new language codes to the obsolete language
         // codes so the correct resource bundles will be used.
         if (languageCode.equals("he")) {//$NON-NLS-1$



Mime
View raw message