summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-04-02 01:29:07 +0000
committerOlivier Lamy <olamy@apache.org>2014-04-02 01:29:07 +0000
commitabdad594837172351eb0dc7a0421ea62c9e0b593 (patch)
tree2b9b94a5f3b0dd097339f0ad0c6d3f2f19420cae /archiva-modules/archiva-web
parenta748ac748047c911f4c4a195ddd11034b4825b16 (diff)
downloadarchiva-abdad594837172351eb0dc7a0421ea62c9e0b593.tar.gz
archiva-abdad594837172351eb0dc7a0421ea62c9e0b593.zip
add comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583849 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java
index 348a2dd51..855d3d67e 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultBrowseService.java
@@ -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 )
{