Remove unnecessary blocking method call (2s)
--------------------------------------------
Key: GTNCOMMON-8
URL:
https://jira.jboss.org/jira/browse/GTNCOMMON-8
Project: GateIn Common
Issue Type: Task
Reporter: Julien Viet
Assignee: Julien Viet
Fix For: 2.0.0-CR03
The class (written by myself :-) ) DefaultLocaleFormat prepopulates a Map<String,
Locale> cache via the class LocaleManager that delegates to the
Locale#getAvailableLocales(). The last call last about 2 seconds and is blocking.
This is a very cheap way to save 2 seconds of boot time (on my machine again) and also
simplify the code (remove one not really useful class).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira