From 4869826ba5568be3870d457cb2de81a0b467ad4e Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Gonzalez Date: Tue, 24 Jan 2006 07:45:08 +0000 Subject: [PATCH] Rolled back 358955, seems that the error was in other place git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@371857 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/artifact/resolver/DefaultArtifactCollector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java b/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java index f6a7e432c1..ccc62acb16 100644 --- a/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java +++ b/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java @@ -351,7 +351,7 @@ public class DefaultArtifactCollector if ( updateScope ) { - fireEvent( ResolutionListener.UPDATE_SCOPE, listeners, farthest, nearestArtifact ); + fireEvent( ResolutionListener.UPDATE_SCOPE, listeners, nearest, farthestArtifact ); // 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