[
https://issues.apache.org/jira/browse/SCM-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961681#comment-17961681
]
ASF GitHub Bot commented on SCM-474:
------------------------------------
jira-importer commented on issue #688:
URL: https://github.com/apache/maven-scm/issues/688#issuecomment-2964613295
**[Olivier
Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)**
commented
fix in rev 779790.
Thanks !
> 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)