]> source.dussan.org Git - archiva.git/commitdiff
simplify as we need all columns
authorOlivier Lamy <olamy@apache.org>
Tue, 25 Mar 2014 06:27:36 +0000 (06:27 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 25 Mar 2014 06:27:36 +0000 (06:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581250 13f79535-47bb-0310-9956-ffa450edef68

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

index 81431caf9506f546b4cbf76e01ca7dfeeb5c94eb..5a5747058117fa8da6164529251437aac2518fcb 100644 (file)
@@ -960,14 +960,8 @@ public class CassandraMetadataRepository
         String key = new ProjectVersionMetadataModel.KeyBuilder().withRepository( repoId ).withNamespace(
             namespace ).withProjectId( projectId ).withId( projectVersion ).build();
 
-        List<String> columns =
-            Arrays.asList( "projectVersion", "description", "name", "namespaceId", "repositoryName", "incomplete",
-                           "projectId", "url", "ciManagement.url", "ciManagement.system", "issueManagement.system",
-                           "issueManagement.url", "organization.name", "organization.url", "scm.developerConnection",
-                           "scm.connection", "scm.url" );
-
         ColumnFamilyResult<String, String> columnFamilyResult =
-            this.projectVersionMetadataModelTemplate.queryColumns( key, columns );
+            this.projectVersionMetadataModelTemplate.queryColumns( key );
         if ( !columnFamilyResult.hasResults() )
         {
             return null;