mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Formatting.
This commit is contained in:
parent
a6b115b35e
commit
a5408e8a4a
@ -133,6 +133,7 @@ final class AutoIngestMetricsCollector {
|
|||||||
* A single job metric for an auto ingest cluster.
|
* A single job metric for an auto ingest cluster.
|
||||||
*/
|
*/
|
||||||
static final class JobMetric {
|
static final class JobMetric {
|
||||||
|
|
||||||
private final long completedDate;
|
private final long completedDate;
|
||||||
private final long dataSourceSize;
|
private final long dataSourceSize;
|
||||||
|
|
||||||
|
@ -86,9 +86,9 @@ final class AutoIngestMetricsDialog extends javax.swing.JDialog {
|
|||||||
|
|
||||||
SimpleDateFormat dateFormatter = new SimpleDateFormat("MMM d, yyyy");
|
SimpleDateFormat dateFormatter = new SimpleDateFormat("MMM d, yyyy");
|
||||||
reportTextArea.setText(String.format(
|
reportTextArea.setText(String.format(
|
||||||
"Since %s:\n" +
|
"Since %s:\n"
|
||||||
"Number of Jobs Completed: %d\n" +
|
+ "Number of Jobs Completed: %d\n"
|
||||||
"Total Size of Data Sources: %.1f GB\n",
|
+ "Total Size of Data Sources: %.1f GB\n",
|
||||||
dateFormatter.format(Date.valueOf(datePicker.getDate())),
|
dateFormatter.format(Date.valueOf(datePicker.getDate())),
|
||||||
jobsCompleted,
|
jobsCompleted,
|
||||||
(double) dataSourceSizeTotal / GIGABYTE_SIZE
|
(double) dataSourceSizeTotal / GIGABYTE_SIZE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user