commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LANG-488) LocaleUtils.availableLocaleSet() - why is Set not created in static block like the List?
Date Tue, 07 Jul 2009 07:12:14 GMT

     [ 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.


Mime
View raw message