summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames William Dumay <jdumay@apache.org>2009-02-26 06:09:21 +0000
committerJames William Dumay <jdumay@apache.org>2009-02-26 06:09:21 +0000
commit6f9d5f225f8164ff71bf9cd3e762764d88ef99e3 (patch)
treee18de53c4c724e28bbc95d016373f576c58c0bac
parentc2497e80a70fbb460c1f82b1fb832f39b1a1a2a0 (diff)
downloadarchiva-with-new-repoapi.tar.gz
archiva-with-new-repoapi.zip
Should add the values of the bean map to the collectionarchiva-with-new-repoapi
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-with-new-repoapi@748030 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java b/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java
index 16eb13385..4efb8475e 100644
--- a/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java
+++ b/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java
@@ -47,10 +47,10 @@ public class DefaultRepositoryInterceptorFactory implements RepositoryIntercepto
if (repositoryInterceptors == null)
{
repositoryInterceptors = new ArrayList<RepositoryInterceptor>();
- Map beans = beanFactory.getBeansOfType(interceptorType);
+ final Map beans = beanFactory.getBeansOfType(interceptorType);
if (beans != null)
{
- repositoryInterceptors.addAll(repositoryInterceptors);
+ repositoryInterceptors.addAll(beans.values());
}
}
return repositoryInterceptors;