mirror of https://github.com/apache/archiva.git
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
This commit is contained in:
parent
c2497e80a7
commit
6f9d5f225f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue