mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Further tidy up IngestJobSettigsPanel construction
This commit is contained in:
parent
62c760363b
commit
aa4a0d3816
@ -58,7 +58,7 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
||||
private static ImageIcon warningIcon = new ImageIcon(IngestJobSettingsPanel.class.getResource("/org/sleuthkit/autopsy/images/warning_triangle.png"));
|
||||
private static ImageIcon infoIcon = new ImageIcon(IngestJobSettingsPanel.class.getResource("/org/sleuthkit/autopsy/images/information-frame.png"));
|
||||
private final IngestJobSettings settings;
|
||||
private final List<Content> dataSources;
|
||||
private final List<Content> dataSources = new ArrayList<>();
|
||||
private final List<IngestJobInfo> ingestJobs = new ArrayList<>();
|
||||
private final List<IngestModuleModel> modules = new ArrayList<>();
|
||||
private final IngestModulesTableModel tableModel = new IngestModulesTableModel();
|
||||
@ -72,7 +72,6 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
||||
*/
|
||||
public IngestJobSettingsPanel(IngestJobSettings settings) {
|
||||
this.settings = settings;
|
||||
dataSources = new ArrayList<>();
|
||||
for (IngestModuleTemplate moduleTemplate : settings.getIngestModuleTemplates()) {
|
||||
modules.add(new IngestModuleModel(moduleTemplate));
|
||||
}
|
||||
@ -88,7 +87,6 @@ public final class IngestJobSettingsPanel extends javax.swing.JPanel {
|
||||
*/
|
||||
IngestJobSettingsPanel(IngestJobSettings settings, List<Content> dataSources) {
|
||||
this.settings = settings;
|
||||
this.dataSources = dataSources;
|
||||
try {
|
||||
SleuthkitCase skCase = Case.getCurrentCase().getSleuthkitCase();
|
||||
ingestJobs.addAll(skCase.getIngestJobs());
|
||||
|
Loading…
x
Reference in New Issue
Block a user