]
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: