[loc-en-dev] Locale.clone()

Mark Davis ☕ mark at macchiato.com
Mon Aug 30 21:18:38 PDT 2010


That's right; I agree.

Mark

*— Il meglio è l’inimico del bene —*


On Mon, Aug 30, 2010 at 19:28, Yoshito Umaoka <y.umaoka at gmail.com> wrote:

> Hi all,
>
> An instance of Locale is immutable. Therefore, you do not need clone().
> For now, Locale.clone() calls super.clone() - but I do not think this is
> actually necessary.
> I think Locale.clone() should be just { return this; }.
>
> What do you think? Any objections?
>
> -Yoshito
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/locale-enhancement-dev/attachments/20100830/0d5a7e88/attachment.html 


More information about the locale-enhancement-dev mailing list