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

Anita Anandan updated TRINIDAD-1210:
------------------------------------

    Status: Patch Available  (was: Open)

> 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
>         Attachments: trunk.patch, trunk12.patch
>
>
> 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.

Reply via email to