org.apache.myfaces.trinidad.convert.DateTimeConverter uses a Set which may
imply that the locale pattern is not the 1st to be used
----------------------------------------------------------------------------------------------------------------------------------
Key: TRINIDAD-1210
URL: https://issues.apache.org/jira/browse/TRINIDAD-1210
Project: MyFaces Trinidad
Issue Type: Bug
Components: Components
Reporter: Anita Anandan
Priority: Minor
org.apache.myfaces.trinidad.convert.DateTimeConverter._doLenientParse() uses a
Set (HashSet). Since Set (and HashSet) do not make any guarantee about the
order of the elements, it is possible that the locale specified pattern
(variable pattern) is not the first to be tried.
It might also be useful to have an order among the other patterns that make up
the Sets "patterns" and "lenientPatterns".
In order to do so I suggest we make all the above Lists.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.