mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
(enhance) ContentRepository is only based on uri and strategy
This commit is contained in:
parent
35c0797898
commit
7ca3ef90f3
9 changed files with 38 additions and 42 deletions
|
|
@ -172,10 +172,7 @@ public class ConfigurationBuilder {
|
|||
if (this.processor == null) {
|
||||
this.processor = resolving.createProcessor();
|
||||
}
|
||||
final ContentRepository contentRepository = new ContentRepository(this.processor, this.repository,
|
||||
resolving.createResolver(this.repository));
|
||||
contentRepository.setSchemaFactory(resolving.createSchemaFactory());
|
||||
contentRepository.setResolvingConfigurationStrategy(resolving);
|
||||
final ContentRepository contentRepository = new ContentRepository(this.resolvingConfigurationStrategy, this.repository);
|
||||
|
||||
final List<Scenario> list = initializeScenarios(contentRepository);
|
||||
final Scenario fallbackScenario = initializeFallback(contentRepository);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue