o Fixed typo

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-10 13:12:36 +00:00
parent db4d07ea3a
commit 497a490d0f
3 changed files with 4 additions and 4 deletions

View File

@ -103,7 +103,7 @@ public class ArtifactResolutionRequest
return this;
}
public List<ArtifactRepository> getRemoteRepostories()
public List<ArtifactRepository> getRemoteRepositories()
{
return remoteRepositories;
}

View File

@ -359,7 +359,7 @@ public class DefaultArtifactResolver
Set<Artifact> artifacts = request.getArtifactDependencies();
Map managedVersions = request.getManagedVersionMap();
ArtifactRepository localRepository = request.getLocalRepository();
List<ArtifactRepository> remoteRepositories = request.getRemoteRepostories();
List<ArtifactRepository> remoteRepositories = request.getRemoteRepositories();
List<ResolutionListener> listeners = request.getListeners();
ArtifactFilter filter = request.getFilter();

View File

@ -69,14 +69,14 @@ public class DefaultResolutionErrorHandler
if ( result.hasMissingArtifacts() )
{
throw new MultipleArtifactsNotFoundException( request.getArtifact(), toList( result.getArtifacts() ),
result.getMissingArtifacts(), request.getRemoteRepostories() );
result.getMissingArtifacts(), request.getRemoteRepositories() );
}
// this should never happen since we checked all possible error sources before but better be sure
if ( result.hasExceptions() )
{
throw new ArtifactResolutionException( "Unknown error during artifact resolution, " + request + ", "
+ result.getExceptions(), request.getArtifact(), request.getRemoteRepostories() );
+ result.getExceptions(), request.getArtifact(), request.getRemoteRepositories() );
}
}