add comment

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2014-04-02 01:29:07 +00:00
parent a748ac7480
commit abdad59483
2 changed files with 4 additions and 5 deletions

View File

@ -118,12 +118,11 @@ public class DefaultBrowseService
// TODO: this logic should be optional, particularly remembering we want to keep this code simple
// it is located here to avoid the content repository implementation needing to do too much for what
// is essentially presentation code
Set<String> namespacesToCollapse;
Set<String> namespacesToCollapse = new LinkedHashSet<String>();
RepositorySession repositorySession = repositorySessionFactory.createSession();
try
{
MetadataResolver metadataResolver = repositorySession.getResolver();
namespacesToCollapse = new LinkedHashSet<String>();
for ( String repoId : selectedRepos )
{

View File

@ -479,7 +479,7 @@ public class CassandraMetadataRepository
}
// FIXME this one need peformance improvement maybe a cache?
@Override
public Collection<String> getRootNamespaces( final String repoId )
throws MetadataResolutionException
@ -502,7 +502,7 @@ public class CassandraMetadataRepository
return namespaces;
}
// FIXME this one need peformance improvement maybe a cache?
@Override
public Collection<String> getNamespaces( final String repoId, final String namespaceId )
throws MetadataResolutionException
@ -539,7 +539,7 @@ public class CassandraMetadataRepository
}
// FIXME this one need peformance improvement maybe a cache?
public List<String> getNamespaces( final String repoId )
throws MetadataResolutionException
{