diff options
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-scanner')
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java index a38ad47c0..492845d4f 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java +++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java @@ -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 ); |