mirror of https://github.com/apache/archiva.git
use a better name
This commit is contained in:
parent
8cb19c908a
commit
9bb8edc5c8
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue