You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2009/07/07 09:12:14 UTC
[jira] Closed: (LANG-488) LocaleUtils.availableLocaleSet() - why is
Set not created in static block like the List?
[ https://issues.apache.org/jira/browse/LANG-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-488.
------------------------------
Resolution: Fixed
svn ci -m "Moving availableLocaleSet and availableLocaleList to both lazily initialize in a separate synchronized method. This brings the two pieces of code into line with each other, allows availableLocaleSet() to be unsynchronized as desired in LANG-488 and removes the static initialization of availableLocaleList() as requested in LANG-511" src
Sending src/java/org/apache/commons/lang/LocaleUtils.java
Transmitting file data .
Committed revision 791726.
> LocaleUtils.availableLocaleSet() - why is Set not created in static block like the List?
> ----------------------------------------------------------------------------------------
>
> Key: LANG-488
> URL: https://issues.apache.org/jira/browse/LANG-488
> Project: Commons Lang
> Issue Type: Improvement
> Reporter: Sebb
> Priority: Minor
> Fix For: 3.0
>
>
> LocaleUtils.availableLocaleSet() - why is the Set not created in static block like the List?
> This would allow the method to be unsynchronized.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.