diff options
author | Olivier Lamy <olamy@apache.org> | 2014-03-24 01:36:39 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-03-24 01:36:39 +0000 |
commit | 6b7feec1f102f11291d72c8c7b4ab50059ab5915 (patch) | |
tree | 2ab913817078fb7486994f76d20d24b21c805528 /archiva-modules/plugins/problem-reports | |
parent | fddb0ca9cfcee7194315b58217187c2303ea9fd1 (diff) | |
download | archiva-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/plugins/problem-reports')
-rw-r--r-- | archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java index 73ff6e42f..e4cd0a902 100644 --- a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java +++ b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java @@ -49,6 +49,7 @@ import javax.inject.Named; import java.io.File; import java.io.IOException; import java.util.ArrayList; +import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.List; @@ -158,7 +159,7 @@ public class DuplicateArtifactsConsumer MetadataRepository metadataRepository = repositorySession.getRepository(); - List<ArtifactMetadata> results; + Collection<ArtifactMetadata> results; try { results = metadataRepository.getArtifactsByChecksum( repoId, checksumSha1 ); |