summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-repository-scanner
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-04-30 16:38:19 +1000
committerOlivier Lamy <olamy@apache.org>2014-04-30 16:38:19 +1000
commit9bb8edc5c8a7c1ed93443350b7a902d35e7a04c3 (patch)
treec652e92c3bcf6a2afb0a99b80841812304bb5f07 /archiva-modules/archiva-base/archiva-repository-scanner
parent8cb19c908af06e5f5d7eb693163c427f936ec7cc (diff)
downloadarchiva-9bb8edc5c8a7c1ed93443350b7a902d35e7a04c3.tar.gz
archiva-9bb8edc5c8a7c1ed93443350b7a902d35e7a04c3.zip
use a better name
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.java6
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 );