Author: jdumay
Date: Thu Feb 26 06:09:21 2009
New Revision: 748030

URL: http://svn.apache.org/viewvc?rev=748030&view=rev
Log:
Should add the values of the bean map to the collection

Modified:
    
archiva/branches/archiva-with-new-repoapi/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java

Modified: 
archiva/branches/archiva-with-new-repoapi/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java
URL: 
http://svn.apache.org/viewvc/archiva/branches/archiva-with-new-repoapi/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java?rev=748030&r1=748029&r2=748030&view=diff
==============================================================================
--- 
archiva/branches/archiva-with-new-repoapi/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java
 (original)
+++ 
archiva/branches/archiva-with-new-repoapi/archiva-modules/archiva-base/archiva-repository/src/main/java/org/apache/archiva/repository/DefaultRepositoryInterceptorFactory.java
 Thu Feb 26 06:09:21 2009
@@ -47,10 +47,10 @@
         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;


Reply via email to