Issue 205 in openid4java: org.openid4java.util.InternetDateFormat is not thread-safe

4 views
Skip to first unread message

codesite...@google.com

unread,
Dec 19, 2013, 8:19:57 AM12/19/13
to openid4java-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 205 by cedrik.l...@gmail.com:
org.openid4java.util.InternetDateFormat is not thread-safe
http://code.google.com/p/openid4java/issues/detail?id=205

org.openid4java.util.InternetDateFormat extends SimpleDateFormat which is
not thread-safe.
An alternative would be to replace the use of InternetDateFormat with
commons-lang's org.apache.commons.lang3.time.FastDateFormat:
new InternetDateFormat()
->
FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ss'Z'",
TimeZone.getTimeZone("GMT"), Locale.US)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages