Skip to content

Commit

Permalink
Changes in StaticContainers
Browse files Browse the repository at this point in the history
  • Loading branch information
RezviyBelorus committed Feb 27, 2018
1 parent 5a21e9d commit 87303fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/src/main/java/org/verapdf/gui/ValidateWorker.java
Expand Up @@ -118,7 +118,7 @@ protected BatchSummary doInBackground() {
: ProcessorFactory.fromValues(validatorConfig, featuresConfig,
this.configManager.getPluginsCollectionConfig(), this.configManager.getFixerConfig(), tasks,
this.customProfile, veraAppConfig.getFixesFolder());
try (BatchProcessor processor = ProcessorFactory.fileBatchProcessor(resultConfig);) {
try (BatchProcessor processor = ProcessorFactory.fileBatchProcessor(resultConfig)) {
VeraAppConfig applicationConfig = this.configManager.getApplicationConfig();
this.batchSummary = processor.process(this.pdfs,
ProcessorFactory.getHandler(FormatOption.MRR, applicationConfig.isVerbose(), mrrReport,
Expand Down Expand Up @@ -172,7 +172,7 @@ private void writeHtmlReport() {
this.htmlReport.deleteOnExit();
try (InputStream xmlStream = new FileInputStream(this.xmlReport);
OutputStream htmlStream = new FileOutputStream(this.htmlReport)) {
HTMLReport.writeHTMLReport(xmlStream, htmlStream, this.batchSummary,
HTMLReport.writeHTMLReport(xmlStream, htmlStream, this.batchSummary.isMultiJob(),
this.configManager.getApplicationConfig().getWikiPath(), true);

} catch (IOException | TransformerException excep) {
Expand Down

0 comments on commit 87303fa

Please sign in to comment.