git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-with-new-repoapi@748030
13f79535-47bb-0310-9956-
ffa450edef68
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;