use a better name

This commit is contained in:
Olivier Lamy 2014-04-30 16:38:19 +10:00
parent 8cb19c908a
commit 9bb8edc5c8
1 changed files with 3 additions and 3 deletions

View File

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