#21 Umbau NoScenarioMatch, als Fallback match

This commit is contained in:
Andreas Penski (init) 2019-05-17 16:11:02 +02:00 committed by Andreas Penski
parent b350334a04
commit cadedaf062
8 changed files with 55 additions and 45 deletions

View file

@ -81,7 +81,7 @@ public class DefaultCheck implements Check {
final Processor processor = ObjectFactory.createProcessor();
this.conversionService = new ConversionService();
this.contentRepository = new ContentRepository(processor, configuration.getScenarioRepository());
this.repository = new ScenarioRepository(processor, this.contentRepository);
this.repository = new ScenarioRepository(this.contentRepository);
this.repository.initialize(configuration);
this.checkSteps = new ArrayList<>();
this.checkSteps.add(DefaultCheck::createDocumentIdentification);