Skip to content
Snippets Groups Projects
Commit c8b97ae2 authored by Vojtech Moravec's avatar Vojtech Moravec
Browse files

Log compression summary to stdout same as to dialog box.

parent 4b229a4d
No related branches found
No related tags found
No related merge requests found
......@@ -414,7 +414,6 @@ public class BigDataViewer {
final JMenuItem sendSummaryRequest = new JMenuItem("Request summary info from server");
sendSummaryRequest.addActionListener(event -> {
System.out.println("Send summary request.");
try {
sendSummaryRequest(fileName + "?p=qcmp_summary");
} catch (final Exception err) {
......@@ -726,8 +725,8 @@ public class BigDataViewer {
result.append(line).append('\n');
}
}
// System.out.println("Summary request response:");
JOptionPane.showMessageDialog(null, result.toString(), "Summary request response", JOptionPane.INFORMATION_MESSAGE);
// System.out.println(result.toString());
final String msg = result.toString();
System.out.println(msg);
JOptionPane.showMessageDialog(null, msg, "Summary request response", JOptionPane.INFORMATION_MESSAGE);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment