Skip to content

Commit

Permalink
Merge pull request #243 from BezrukovM/parser-info
Browse files Browse the repository at this point in the history
added parser info into about dialog and html report
  • Loading branch information
BezrukovM authored Feb 7, 2018
2 parents 8914070 + f3d47fb commit 2422073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gui/src/main/java/org/verapdf/gui/PartnersPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.verapdf.ReleaseDetails;
import org.verapdf.apps.Applications;
import org.verapdf.gui.utils.GUIConstants;
import org.verapdf.pdfa.Foundries;

/**
* Panel with partners logo
Expand Down Expand Up @@ -83,7 +84,8 @@ class PartnersPanel extends JPanel {
add(this.preforma);

ReleaseDetails appDetails= Applications.getAppDetails();
String versionText = "Version: " + appDetails.getVersion();
String versionText = "Version: " + appDetails.getVersion()
+ ", Parser: " + Foundries.defaultInstance().getParserId();

this.version = new JLabel(versionText);

Expand Down
2 changes: 1 addition & 1 deletion gui/src/main/java/org/verapdf/gui/ValidateWorker.java
Original file line number Diff line number Diff line change
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 2422073

Please sign in to comment.