struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Example of a non-threadsafe Action?
Date Tue, 23 Dec 2003 20:58:47 GMT
Quoting Sgarlata Matt <sgarlata_matt@bah.com>:

> What if the SimpleDateFormat variable is declared as final and/or static?
> 

How it's declared makes no difference at all.  Whether you attempt to use the
same instance simultaneously from more than one thread makes all the
difference.

Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message