From 6f9d5f225f8164ff71bf9cd3e762764d88ef99e3 Mon Sep 17 00:00:00 2001 From: James William Dumay Date: Thu, 26 Feb 2009 06:09:21 +0000 Subject: [PATCH] Should add the values of the bean map to the collection git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-with-new-repoapi@748030 13f79535-47bb-0310-9956-ffa450edef68 --- .../repository/DefaultRepositoryInterceptorFactory.java | 4 ++-- 1 file 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(); - Map beans = beanFactory.getBeansOfType(interceptorType); + final Map beans = beanFactory.getBeansOfType(interceptorType); if (beans != null) { - repositoryInterceptors.addAll(repositoryInterceptors); + repositoryInterceptors.addAll(beans.values()); } } return repositoryInterceptors; -- 2.39.5