]> source.dussan.org Git - archiva.git/commitdiff
use a better name
authorOlivier Lamy <olamy@apache.org>
Wed, 30 Apr 2014 06:38:19 +0000 (16:38 +1000)
committerOlivier Lamy <olamy@apache.org>
Wed, 30 Apr 2014 06:38:19 +0000 (16:38 +1000)
archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java

index a38ad47c0fb2a9b2f416e93384848c6a49a6b504..492845d4f516d4c1480a9992cefbf269bfd9eec8 100644 (file)
@@ -49,7 +49,7 @@ public class DefaultRepositoryScanner
     private FileTypes filetypes;
 
     @Inject
-    private RepositoryContentConsumers consumerUtil;
+    private RepositoryContentConsumers repositoryContentConsumers;
 
     private Set<RepositoryScannerInstance> inProgressScans = new LinkedHashSet<RepositoryScannerInstance>();
 
@@ -59,8 +59,8 @@ public class DefaultRepositoryScanner
     {
         try
         {
-            List<KnownRepositoryContentConsumer> knownContentConsumers = consumerUtil.getSelectedKnownConsumers();
-            List<InvalidRepositoryContentConsumer> invalidContentConsumers = consumerUtil.getSelectedInvalidConsumers();
+            List<KnownRepositoryContentConsumer> knownContentConsumers = repositoryContentConsumers.getSelectedKnownConsumers();
+            List<InvalidRepositoryContentConsumer> invalidContentConsumers = repositoryContentConsumers.getSelectedInvalidConsumers();
             List<String> ignoredPatterns = filetypes.getFileTypePatterns( FileTypes.IGNORED );
 
             return scan( repository, knownContentConsumers, invalidContentConsumers, ignoredPatterns, changesSince );