summaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-repository-api/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-03-24 01:36:39 +0000
committerOlivier Lamy <olamy@apache.org>2014-03-24 01:36:39 +0000
commit6b7feec1f102f11291d72c8c7b4ab50059ab5915 (patch)
tree2ab913817078fb7486994f76d20d24b21c805528 /archiva-modules/metadata/metadata-repository-api/src
parentfddb0ca9cfcee7194315b58217187c2303ea9fd1 (diff)
downloadarchiva-6b7feec1f102f11291d72c8c7b4ab50059ab5915.tar.gz
archiva-6b7feec1f102f11291d72c8c7b4ab50059ab5915.zip
fix checksum search cassandra search
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580691 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-repository-api/src')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java2
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java
index 7bec0d6bd..cdd865d56 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java
@@ -98,7 +98,7 @@ public interface MetadataRepository
Collection<String> getRepositories()
throws MetadataRepositoryException;
- List<ArtifactMetadata> getArtifactsByChecksum( String repositoryId, String checksum )
+ Collection<ArtifactMetadata> getArtifactsByChecksum( String repositoryId, String checksum )
throws MetadataRepositoryException;
void removeArtifact( String repositoryId, String namespace, String project, String version, String id )
diff --git a/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java b/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
index e11911671..c33c8d676 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
@@ -1164,7 +1164,7 @@ public abstract class AbstractMetadataRepositoryTest
ArtifactMetadata artifact = createArtifact();
repository.updateArtifact( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, TEST_PROJECT_VERSION, artifact );
- List<ArtifactMetadata> artifactsByChecksum = repository.getArtifactsByChecksum( TEST_REPO_ID, "not checksum" );
+ Collection<ArtifactMetadata> artifactsByChecksum = repository.getArtifactsByChecksum( TEST_REPO_ID, "not checksum" );
assertEquals( Collections.<ArtifactMetadata>emptyList(), artifactsByChecksum );
}