From fe9f7fde6df2383ca5ca55ffd469281242207954 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Mon, 17 Aug 2009 17:43:53 +0000 Subject: [PATCH] o Fixed typo git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805068 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/artifact/resolver/ArtifactResolutionResult.java | 2 +- .../legacy/resolver/DefaultLegacyArtifactCollector.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java index b3470e6402..3badfa785f 100644 --- a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java +++ b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java @@ -68,7 +68,7 @@ public class ArtifactResolutionResult return originatingArtifact; } - public ArtifactResolutionResult ListOriginatingArtifact( final Artifact originatingArtifact ) + public ArtifactResolutionResult setOriginatingArtifact( final Artifact originatingArtifact ) { this.originatingArtifact = originatingArtifact; diff --git a/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java b/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java index 339e9aa431..85e2f121b2 100644 --- a/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java +++ b/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java @@ -96,7 +96,7 @@ public class DefaultLegacyArtifactCollector { ArtifactResolutionResult result = new ArtifactResolutionResult(); - result.ListOriginatingArtifact( originatingArtifact ); + result.setOriginatingArtifact( originatingArtifact ); if ( conflictResolvers == null ) {