From 6b7feec1f102f11291d72c8c7b4ab50059ab5915 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 24 Mar 2014 01:36:39 +0000 Subject: fix checksum search cassandra search git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580691 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archiva-modules/plugins/problem-reports') 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 results; + Collection results; try { results = metadataRepository.getArtifactsByChecksum( repoId, checksumSha1 ); -- cgit v1.2.3