Make class ChangeSet thread-safe
--------------------------------

                 Key: SCM-474
                 URL: http://jira.codehaus.org/browse/SCM-474
             Project: Maven SCM
          Issue Type: Improvement
          Components: maven-scm-api
    Affects Versions: 1.3
            Reporter: Andrei Solntsev
            Priority: Minor


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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to