mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Fix Codacy issues in fix for backwards incompatibility in reports
This commit is contained in:
parent
50a164b7e0
commit
dfdba9c4d3
@ -29,7 +29,6 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.logging.Level;
|
||||
import org.sleuthkit.autopsy.coreutils.Logger;
|
||||
import org.sleuthkit.autopsy.report.infrastructure.ReportProgressIndicator;
|
||||
|
||||
/**
|
||||
* A panel used by a report generation module to show progress.
|
||||
@ -75,7 +74,7 @@ public class ReportProgressPanel extends javax.swing.JPanel {
|
||||
* @param reportName The name of the report being generated.
|
||||
* @param reportPath The path to the report file.
|
||||
*/
|
||||
public void setLabels(String reportName, String reportPath) {
|
||||
public final void setLabels(String reportName, String reportPath) {
|
||||
reportLabel.setText(reportName);
|
||||
if (null != reportPath) {
|
||||
pathLabel.setText("<html><u>" + shortenPath(reportPath) + "</u></html>"); //NON-NLS
|
||||
@ -85,10 +84,16 @@ public class ReportProgressPanel extends javax.swing.JPanel {
|
||||
|
||||
@Override
|
||||
public void mouseClicked(MouseEvent mouseEvent) {
|
||||
/*
|
||||
* Do nothing for this event.
|
||||
*/
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mousePressed(MouseEvent mouseEvent) {
|
||||
/*
|
||||
* Do nothing for this event.
|
||||
*/
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -44,16 +44,6 @@ public class ReportProgressIndicator extends ReportProgressPanel {
|
||||
this.progressIndicator = progressIndicator;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLabels(String reportName, String reportPath) {
|
||||
/*
|
||||
* This method is not expected to be called. It exists for use by the
|
||||
* ReportGenerationPanel, which is not expected to be instantiated when
|
||||
* this class is used.
|
||||
*/
|
||||
super.setLabels(reportName, reportPath);
|
||||
}
|
||||
|
||||
@Override
|
||||
@NbBundle.Messages({
|
||||
"ReportProgressIndicator.startMessage=Report generation started"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#Updated by build script
|
||||
#Wed, 02 Oct 2019 12:06:32 -0400
|
||||
#Fri, 04 Oct 2019 14:30:10 -0400
|
||||
LBL_splash_window_title=Starting Autopsy
|
||||
SPLASH_HEIGHT=314
|
||||
SPLASH_WIDTH=538
|
||||
|
@ -1,4 +1,4 @@
|
||||
#Updated by build script
|
||||
#Wed, 02 Oct 2019 12:06:32 -0400
|
||||
#Fri, 04 Oct 2019 14:30:10 -0400
|
||||
CTL_MainWindow_Title=Autopsy 4.13.0
|
||||
CTL_MainWindow_Title_No_Project=Autopsy 4.13.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user