]> source.dussan.org Git - archiva.git/commitdiff
more cleanup
authorOlivier Lamy <olamy@apache.org>
Thu, 20 Mar 2014 23:22:38 +0000 (23:22 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 20 Mar 2014 23:22:38 +0000 (23:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579821 13f79535-47bb-0310-9956-ffa450edef68

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

index 56f6a45420b8d3e3276796ae655586e007ba78e3..4314a071f5cf93f1ffddc62d094b6245ef0f52eb 100644 (file)
@@ -108,7 +108,8 @@ public class DefaultCassandraArchivaManager
         {
 
             final ColumnFamilyDefinition namespaces =
-                HFactory.createColumnFamilyDefinition( keyspace.getKeyspaceName(), "namespace",
+                HFactory.createColumnFamilyDefinition( keyspace.getKeyspaceName(), //
+                                                       getNamespaceFamilyName(), //
                                                        ComparatorType.UTF8TYPE );
             cfds.add( namespaces );
 
@@ -131,7 +132,8 @@ public class DefaultCassandraArchivaManager
 
         {
             final ColumnFamilyDefinition repository =
-                HFactory.createColumnFamilyDefinition( keyspace.getKeyspaceName(), "repository",
+                HFactory.createColumnFamilyDefinition( keyspace.getKeyspaceName(), //
+                                                       getRepositoryFamilyName(), //
                                                        ComparatorType.UTF8TYPE );
 
             cfds.add( repository );