(chore) refactoring der html extraktion

This commit is contained in:
Andreas Penski (init) 2019-06-28 14:35:00 +02:00
parent 6a3d33b97c
commit 0a28e41d98
4 changed files with 46 additions and 33 deletions

View file

@ -130,7 +130,7 @@ public class DefaultCheck implements Check {
}
private Result createResult(final Bag t) {
final DefaultResult result = new DefaultResult(t.getReport(), t.getAcceptStatus(), this.contentRepository);
final DefaultResult result = new DefaultResult(t.getReport(), t.getAcceptStatus(), new HtmlExtractor(this.contentRepository));
result.setReportInput(t.getReportInput());
if (t.getSchemaValidationResult() != null) {
result.setSchemaViolations(convertErrors(t.getSchemaValidationResult().getErrors()));