diff options
author | James William Dumay <jdumay@apache.org> | 2009-02-26 06:09:21 +0000 |
---|---|---|
committer | James William Dumay <jdumay@apache.org> | 2009-02-26 06:09:21 +0000 |
commit | 6f9d5f225f8164ff71bf9cd3e762764d88ef99e3 (patch) | |
tree | e18de53c4c724e28bbc95d016373f576c58c0bac | |
parent | c2497e80a70fbb460c1f82b1fb832f39b1a1a2a0 (diff) | |
download | archiva-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.java | 4 |
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; |