maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r750023 - /maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
Date Wed, 04 Mar 2009 14:33:52 GMT
Author: brett
Date: Wed Mar  4 14:33:51 2009
New Revision: 750023

URL: http://svn.apache.org/viewvc?rev=750023&view=rev
Log:
[MNG-3379] synchronize list

Modified:
    maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

Modified: maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java?rev=750023&r1=750022&r2=750023&view=diff
==============================================================================
--- maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
(original)
+++ maven/components/branches/maven-2.1.x/maven-artifact-manager/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
Wed Mar  4 14:33:51 2009
@@ -333,7 +333,7 @@
             nodes.add( node );
         }
 
-        List resolutionExceptions = new ArrayList();
+        List resolutionExceptions = Collections.synchronizedList( new ArrayList() );
         try
         {
             for ( Iterator i = nodesByGroupId.values().iterator(); i.hasNext(); )



Mime
View raw message