Skip to content

org.openid4java.util.InternetDateFormat is not thread-safe #205

Description

@GoogleCodeExporter
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)

Original issue reported on code.google.com by cedrik.l...@gmail.com on 19 Dec 2013 at 1:19

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions