fix getArtifactVersions
authorOlivier Lamy <olamy@apache.org>
Wed, 5 Jun 2013 12:29:08 +0000 (12:29 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 5 Jun 2013 12:29:08 +0000 (12:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/sandbox/trunk@1489834 13f79535-47bb-0310-9956-ffa450edef68

metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java

index e99da27..fc21795 100644 (file)
@@ -844,7 +844,7 @@ public class CassandraMetadataRepository
                                                    final String projectVersion )
         throws MetadataResolutionException
     {
-        final List<String> versions = new ArrayList<String>();
+        final Set<String> versions = new HashSet<String>();
         // FIXME use cql query
         artifactMetadataModelEntityManager.visitAll( new Function<ArtifactMetadataModel, Boolean>()
         {