Author: carlos
Date: Sat Dec 24 16:18:08 2005
New Revision: 358955

URL: http://svn.apache.org/viewcvs?rev=358955&view=rev
Log:
Debug incorrectly reports scope when an artifact is got from two different paths

Modified:
    
maven/components/branches/maven-2.0.x/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java

Modified: 
maven/components/branches/maven-2.0.x/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java
URL: 
http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java?rev=358955&r1=358954&r2=358955&view=diff
==============================================================================
--- 
maven/components/branches/maven-2.0.x/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java
 (original)
+++ 
maven/components/branches/maven-2.0.x/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java
 Sat Dec 24 16:18:08 2005
@@ -344,7 +344,7 @@
 
         if ( updateScope )
         {
-            fireEvent( ResolutionListener.UPDATE_SCOPE, listeners, nearest, 
farthestArtifact );
+            fireEvent( ResolutionListener.UPDATE_SCOPE, listeners, farthest, 
nearestArtifact );
 
             // previously we cloned the artifact, but it is more effecient to 
just update the scope
             // if problems are later discovered that the original object needs 
its original scope value, cloning may


Reply via email to