Formatting.

This commit is contained in:
U-BASIS\dgrove 2017-11-30 16:59:39 -05:00
parent a6b115b35e
commit a5408e8a4a
2 changed files with 30 additions and 29 deletions

View File

@ -133,6 +133,7 @@ final class AutoIngestMetricsCollector {
* A single job metric for an auto ingest cluster.
*/
static final class JobMetric {
private final long completedDate;
private final long dataSourceSize;

View File

@ -86,9 +86,9 @@ final class AutoIngestMetricsDialog extends javax.swing.JDialog {
SimpleDateFormat dateFormatter = new SimpleDateFormat("MMM d, yyyy");
reportTextArea.setText(String.format(
"Since %s:\n" +
"Number of Jobs Completed: %d\n" +
"Total Size of Data Sources: %.1f GB\n",
"Since %s:\n"
+ "Number of Jobs Completed: %d\n"
+ "Total Size of Data Sources: %.1f GB\n",
dateFormatter.format(Date.valueOf(datePicker.getDate())),
jobsCompleted,
(double) dataSourceSizeTotal / GIGABYTE_SIZE