[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Static DateFormat on MessageCounterHelper
clebert.suconic@jboss.com
do-not-reply at jboss.com
Wed Jun 17 01:19:56 EDT 2009
Not a big deal, but I found this while playing with FindBugs (while I was watching TV today :-) )
management.MessageCounterHelper has a static DateFormat.
And from DateFormat javadoc:
http://java.sun.com/javase/6/docs/api/java/text/DateFormat.html
"DateFormat javadoc" wrote :
| Date formats are not synchronized. It is recommended to create separate format instances for each thread. If multiple threads access a format concurrently, it must be synchronized externally.
|
:-)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238082#4238082
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238082
More information about the jboss-dev-forums
mailing list