Martin Desruisseaux created SIS-78:
--------------------------------------
Summary: Replace null locale by Locale.ROOT
Key: SIS-78
URL: https://issues.apache.org/jira/browse/SIS-78
Project: Spatial Information Systems
Issue Type: Improvement
Components: Utilities
Reporter: Martin Desruisseaux
Assignee: Martin Desruisseaux
Priority: Minor
Fix For: 0.3
The various methods expecting a {{Locale}} argument interpret {{null}} value as
a request for "unlocalized" data. This is a legacy from pre-Java 6 days. But
since Java 6, a new constant can be used for unlocalized data: {{Locale.ROOT}}.
We should replace all {{null}} locales by {{Locale.ROOT}}. We should also
consider not accepting anymore null locale argument in most methods, except
maybe the following ones (because widely used):
* {{IndexedResourceBundle.getResources(Locale)}}
* {{InternationalString.toString(Locale)}}
--
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