[MNG-3849] - cleaner names

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749541 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Gusakov 2009-03-03 06:16:06 +00:00
parent aece478e1e
commit c3ef515d0e
2 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ public class MercuryAdaptor
return res;
}
public static ArtifactBasicMetadata toBasicMetadata( Artifact a )
public static ArtifactBasicMetadata toMercuryBasicMetadata( Artifact a )
{
ArtifactBasicMetadata md = new ArtifactBasicMetadata();
md.setGroupId( a.getGroupId() );
@ -99,7 +99,7 @@ public class MercuryAdaptor
return md;
}
public static ArtifactMetadata toMetadata( Artifact a )
public static ArtifactMetadata toMercuryMetadata( Artifact a )
{
ArtifactMetadata md = new ArtifactMetadata();
md.setGroupId( a.getGroupId() );

View File

@ -83,7 +83,7 @@ public class MercuryRepositorySystem
try
{
List<ArtifactMetadata> mercuryMetadataList =
_mercury.resolve( repos, null, MercuryAdaptor.toMetadata( request.getArtifact() ) );
_mercury.resolve( repos, null, MercuryAdaptor.toMercuryMetadata( request.getArtifact() ) );
List<org.apache.maven.mercury.artifact.Artifact> mercuryArtifactList =
_mercury.read( repos, mercuryMetadataList );