[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-2404) TimeZoneSelector: Initialization

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Sun Feb 3 23:01:03 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2404?page=all ]

Shane Bryzak reassigned JBSEAM-2404:
------------------------------------

    Assignee: Shane Bryzak

> TimeZoneSelector: Initialization
> --------------------------------
>
>                 Key: JBSEAM-2404
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2404
>             Project: JBoss Seam
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0.CR2
>            Reporter: Martin Trummer
>         Assigned To: Shane Bryzak
>
> org.jboss.seam.international.TimeZoneSelector
> when called for the first time (no cookie set), 
> initTimeZone() will not initialize the id, thus:
> * getTimeZoneId() will return null, but
> * getTimeZone() will return the default timezone
> this is not consistent
> it would be better to initialize the id in the initTimeZone() method to the default timezone (if no cookie is set).
> then the getTimeZone() method could always return java.util.TimeZone.getTimeZone( getTimeZoneId(), and another benefit is, that the null check in getTimeZone() can now be eliminated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list