classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] PING: java.util.Locale getISO* patch


From: Andrew John Hughes
Subject: [cp-patches] PING: java.util.Locale getISO* patch
Date: Wed, 16 Feb 2005 01:30:10 +0000

On Wed, 2005-01-05 at 16:19 +0000, Andrew John Hughes wrote:
> Hi all,
> 
>       Attached is a patch to change the getISOLanguages() and 
> getISOCountries()
> methods to retrieving the data dynamically from the 
> gnu.java.locale.LocaleInformation
> source, rather than relying on a static set.
> 
>       * java/util/Locale.java
>       Added two new String[] arrays for caching.
>       getLocale(String): documentation
>       getLocale(String, String): documentation
>       getLocale(String, String, String): documentation
>       getISOCountries(): now calls getISOStrings() and caches result
>       getISOLanguages(): now calls getISOStrings() and caches result
>       getISOStrings(String): pulls all two-letter keys from the specified 
> hashtable
>       in our locale information.
> 
> _______________________________________________
> Classpath-patches mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath-patches

I posted this patch over a month ago, and it completely slipped my mind
until now (thanks to Paul Jenner for reminding me).  Does anyone have
any thoughts on this?  I'm not sure of whether this is right to do, so
I'd like some comments as to whether to commit or not.

Cheers,
-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

No software patents in Europe -- http://nosoftwarepatents.com

"Value your freedom, or you will lose it, teaches history. 
`Don't bother us with politics' respond those who don't want to learn." 
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known
--
Windows" 
-- Victor Wheatman, Gartner


Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]