[
https://issues.apache.org/jira/browse/SCM-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964646#comment-17964646
]
Olivier Lamy commented on SCM-474:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#688|https://github.com/apache/maven-scm/issues/688].
> Make class ChangeSet thread-safe
> --------------------------------
>
> Key: SCM-474
> URL: https://issues.apache.org/jira/browse/SCM-474
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Improvement
> Components: maven-scm-api
> Affects Versions: 1.2, 1.3
> Reporter: Andrei Solntsev
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 1.3
>
> Attachments: MNG-474-maven-core.patch
>
>
> Class org.apache.maven.scm.ChangeSet declares a static member of type
> SimpleDateFormat which is not thread-safe.
> If 2 concurrent treads try to use it, it will lead to error.
> Proposed solution is to use class ThreadSafeDateFormat described here:
> http://asolntsev.blogspot.com/2009/05/threadsafedateformat.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)