diff options
author | Olivier Lamy <olamy@apache.org> | 2012-10-23 14:03:06 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-10-23 14:03:06 +0000 |
commit | 1f0f3766f3fe7c9285d6277d0665649b1105dd76 (patch) | |
tree | cdc86cd545b18af29590449aacb8a31557f27d8a /archiva-modules/metadata/metadata-repository-api/src | |
parent | 1d46b329d2bdc1e1a6c3b48e4095e9373d997579 (diff) | |
download | archiva-1f0f3766f3fe7c9285d6277d0665649b1105dd76.tar.gz archiva-1f0f3766f3fe7c9285d6277d0665649b1105dd76.zip |
use a better naming convention
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401299 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-repository-api/src')
3 files changed, 5 insertions, 5 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java index 013cc4e7c..2a35f7dcb 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/DefaultMetadataResolver.java @@ -100,7 +100,7 @@ public class DefaultMetadataResolver try { ReadMetadataRequest readMetadataRequest = - new ReadMetadataRequest().repoId( repoId ).namespace( namespace ).projectId( + new ReadMetadataRequest().repositoryId( repoId ).namespace( namespace ).projectId( projectId ).projectVersion( projectVersion ); metadata = repositoryStorage.readProjectVersionMetadata( readMetadataRequest ); @@ -314,7 +314,7 @@ public class DefaultMetadataResolver try { ReadMetadataRequest readMetadataRequest = - new ReadMetadataRequest().repoId( repoId ).namespace( namespace ).projectId( + new ReadMetadataRequest().repositoryId( repoId ).namespace( namespace ).projectId( projectId ).projectVersion( projectVersion ); ProjectVersionMetadata versionMetadata = repositoryStorage.readProjectVersionMetadata( readMetadataRequest ); @@ -373,7 +373,7 @@ public class DefaultMetadataResolver ExcludesFilter<String> filter = new ExcludesFilter<String>( createArtifactIdList( artifacts ) ); ReadMetadataRequest readMetadataRequest = - new ReadMetadataRequest().repoId( repoId ).namespace( namespace ).projectId( projectId ).projectVersion( + new ReadMetadataRequest().repositoryId( repoId ).namespace( namespace ).projectId( projectId ).projectVersion( projectVersion ).filter( filter ); Collection<ArtifactMetadata> storageArtifacts = diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/ReadMetadataRequest.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/ReadMetadataRequest.java index c98d9e000..6ee552151 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/ReadMetadataRequest.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/ReadMetadataRequest.java @@ -66,7 +66,7 @@ public class ReadMetadataRequest this.repositoryId = repositoryId; } - public ReadMetadataRequest repoId( String repoId ) + public ReadMetadataRequest repositoryId( String repoId ) { this.repositoryId = repoId; return this; diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java index 4921613a6..b480a8d00 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java @@ -26,7 +26,7 @@ import org.apache.archiva.metadata.repository.filter.Filter; import java.util.Collection; -// FIXME: we should drop the repoId parameters and attach this to an instance of a repository storage +// FIXME: we should drop the repositoryId parameters and attach this to an instance of a repository storage public interface RepositoryStorage { ProjectMetadata readProjectMetadata( String repoId, String namespace, String projectId ); |