You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/11/20 12:00:58 UTC

[jira] [Closed] (FELIX-2097) DefaultMetaTypeProvider.getLocales() must not reuturn an empty string entry

     [ https://issues.apache.org/jira/browse/FELIX-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-2097.
------------------------------------


Close after release
                
> DefaultMetaTypeProvider.getLocales() must not reuturn an empty string entry
> ---------------------------------------------------------------------------
>
>                 Key: FELIX-2097
>                 URL: https://issues.apache.org/jira/browse/FELIX-2097
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service, Specification compliance
>    Affects Versions: metatype-1.0.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  metatype-1.0.6
>
>
> The DefaultMetaTypeProvider.getLocales() currently returns a list of locales including the "empty string" locale because it simply returns a list of locale suffixes of the bundle entries providing localization strings. Since the empty string is not a valid language name (and merely is used as a catch all), this entry must not be returned.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira