]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1076]
authorMaria Odea B. Ching <oching@apache.org>
Wed, 18 Feb 2009 06:50:21 +0000 (06:50 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Wed, 18 Feb 2009 06:50:21 +0000 (06:50 +0000)
o remove second invocation of complete scan in RepositoryContentConsumers which causes the NPE

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745393 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumers.java

index 6f35e81f35c5f375bdb583d4433b8cda2cc48218..1a22ab7869f6f4fc1afce702f5b19cfc7e81b0c6 100644 (file)
@@ -261,7 +261,6 @@ public class RepositoryContentConsumers implements ApplicationContextAware
             TriggerScanCompletedClosure scanCompletedClosure = new TriggerScanCompletedClosure(repository);
 
             CollectionUtils.forAllDo(selectedKnownConsumers, scanCompletedClosure);
-            CollectionUtils.forAllDo(selectedKnownConsumers, scanCompletedClosure);
         }
         finally
         {