Max Kutny wrote:
EB> from javadoc on SimpleDateFormat: Synchronization
EB> Date formats are not synchronized. It is recommended to create
EB> separate format instances for each thread. If multiple threads access
EB> a format concurrently, it must be synchronized externally.
EB> ... so your concern is quite valid ... kind of. The time I could see
EB> a problem arising would be when you are *changing* the format.
That's exactly as I understood javadoc. *formats* are not
synchronized. Since format is applyed in static code I suggested to move
SimpleDateFormat creation there. Seems I was wrong. That's javadoc
ambiguously.
Sorry all guys for confusing you.
-- Eddie Bush
-- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>