From 616fa5484018e502995b0520edc2bc085d01cf5d Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Fri, 12 Apr 2019 10:47:23 -0400 Subject: [PATCH] 4943 address codacy complaints --- Core/src/org/sleuthkit/autopsy/report/FileReportText.java | 2 +- .../autopsy/report/ReportFileTextConfigurationPanel.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/report/FileReportText.java b/Core/src/org/sleuthkit/autopsy/report/FileReportText.java index f9413169f2..9d3de2c945 100644 --- a/Core/src/org/sleuthkit/autopsy/report/FileReportText.java +++ b/Core/src/org/sleuthkit/autopsy/report/FileReportText.java @@ -92,7 +92,7 @@ class FileReportText implements FileReportModule { output = new StringBuilder(); Iterator it = list.iterator(); while (it.hasNext()) { - output.append("\"").append(it.next()).append("\"").append((it.hasNext() ? delimiter : System.lineSeparator())); + output.append('"').append(it.next()).append('"').append((it.hasNext() ? delimiter : System.lineSeparator())); } return output.toString(); } diff --git a/Core/src/org/sleuthkit/autopsy/report/ReportFileTextConfigurationPanel.java b/Core/src/org/sleuthkit/autopsy/report/ReportFileTextConfigurationPanel.java index 351b8ff432..e1b9de2df2 100644 --- a/Core/src/org/sleuthkit/autopsy/report/ReportFileTextConfigurationPanel.java +++ b/Core/src/org/sleuthkit/autopsy/report/ReportFileTextConfigurationPanel.java @@ -18,6 +18,9 @@ */ package org.sleuthkit.autopsy.report; +/** + * Panel for configuring settings for the file text report + */ class ReportFileTextConfigurationPanel extends javax.swing.JPanel { private static final long serialVersionUID = 1L;