LANG-802 - LocaleUtils - unnecessary recursive call in SyncAvoid class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342651 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0aa4135a78
commit
4c2e69797f
|
@ -22,6 +22,7 @@
|
|||
<body>
|
||||
|
||||
<release version="3.2" date="TBA" description="Next release">
|
||||
<action issue="LANG-802" type="fix">LocaleUtils - unnecessary recursive call in SyncAvoid class.</action>
|
||||
<action type="fix" issue="LANG-800">Javadoc bug in DateUtils#ceiling for Calendar and Object versions.</action>
|
||||
<action type="update" issue="LANG-798">Use generics in SerializationUtils</action>
|
||||
<action type="fix" issue="LANG-788">SerializationUtils throws ClassNotFoundException when cloning primitive classes</action>
|
||||
|
|
|
@ -290,7 +290,7 @@ public class LocaleUtils {
|
|||
static {
|
||||
List<Locale> list = new ArrayList<Locale>(Arrays.asList(Locale.getAvailableLocales())); // extra safe
|
||||
AVAILABLE_LOCALE_LIST = Collections.unmodifiableList(list);
|
||||
AVAILABLE_LOCALE_SET = Collections.unmodifiableSet(new HashSet<Locale>(availableLocaleList()));
|
||||
AVAILABLE_LOCALE_SET = Collections.unmodifiableSet(new HashSet<Locale>(list));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue