make method signatures consistent

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-23 07:43:38 +00:00
parent 2b85350558
commit 7c82aceb35
3 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ public class AbstractArtifactComponent
return remoteRepository.pathOf( artifact );
}
protected String getLocalRepositoryArtifactPath( ArtifactRepository localRepository, Artifact artifact )
protected String getLocalRepositoryArtifactPath( Artifact artifact, ArtifactRepository localRepository )
throws ArtifactPathFormatException
{
for ( Iterator i = artifactTransformations.iterator(); i.hasNext(); )

View File

@ -52,7 +52,7 @@ public class DefaultArtifactInstaller
{
try
{
artifact.setPath( getLocalRepositoryArtifactPath( localRepository, artifact ) );
artifact.setPath( getLocalRepositoryArtifactPath( artifact, localRepository ) );
if ( !artifact.getFile().getParentFile().exists() )
{

View File

@ -77,7 +77,7 @@ public class DefaultArtifactResolver
logger.debug( "Resolving: " + artifact.getId() + " from:\n" + "{localRepository: " + localRepository +
"}\n" + "{remoteRepositories: " + remoteRepositories + "}" );
artifact.setPath( getLocalRepositoryArtifactPath( localRepository, artifact ) );
artifact.setPath( getLocalRepositoryArtifactPath( artifact, localRepository ) );
if ( artifact.exists() )
{
@ -294,7 +294,7 @@ public class DefaultArtifactResolver
try
{
artifact.setPath( getLocalRepositoryArtifactPath( localRepository, artifact ) );
artifact.setPath( getLocalRepositoryArtifactPath( artifact, localRepository ) );
}
catch ( ArtifactPathFormatException e )
{