[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-dev
Subject: [jira] Created: (TAPESTRY-304) Non thread safe documentation example
From: "Ben Tomasini (JIRA)" <tapestry-dev () jakarta ! apache ! org>
Date: 2005-04-27 15:29:27
Message-ID: 422128008.1114615767632.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]
Non thread safe documentation example
-------------------------------------
Key: TAPESTRY-304
URL: http://issues.apache.org/jira/browse/TAPESTRY-304
Project: Tapestry
Type: Bug
Components: Documentation
Versions: unspecified
Reporter: Ben Tomasini
Priority: Minor
SimpleDateFormat is not thread safe. I know this is a problem with .parse(), and \
assume .format() is the same.
The documentation example here:
http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html
shows a static instance of SimpleDateFormat.
Under load, this could produce incorrect results.
Ben
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic