On Wednesday, November 6, 2002, 4:51:58 PM, Antoni wrote:
AR> The problem is that during execution of SimpleDateFormat.parse some private AR> fields of SimpleDateFormat are modified. Ahhhh yes thank you. I bet I have this problem in other pieces of my code as well. What would you recommend doing? Should I synchronize the convert() method? or should I do it like I initially had it where I created a separate instance of SimpleDateFormat each time in the convert method? Which would incur less overhead and be faster? Or maybe neither of the above approaches is correct? Thanks again for making this clearer. -- Rick mailto:maillist@;reumann.net -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>