mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Sixth batch updated for PMD error suppression and correction.
This commit is contained in:
parent
69147e14ec
commit
188ed39401
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2017 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -32,6 +32,7 @@ import org.openide.windows.WindowManager;
|
|||||||
* Panel for displaying the case information, including both case details and
|
* Panel for displaying the case information, including both case details and
|
||||||
* ingest job history.
|
* ingest job history.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
class CaseInformationPanel extends javax.swing.JPanel {
|
class CaseInformationPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
@ -35,6 +35,7 @@ import org.openide.windows.WindowManager;
|
|||||||
/*
|
/*
|
||||||
* The panel in the default Autopsy startup window.
|
* The panel in the default Autopsy startup window.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
public class CueBannerPanel extends javax.swing.JPanel {
|
public class CueBannerPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2017 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -22,9 +22,9 @@ import java.awt.event.ActionListener;
|
|||||||
import org.openide.util.NbBundle.Messages;
|
import org.openide.util.NbBundle.Messages;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Panel to allow examiner to edit option case properties.
|
||||||
* @author wschaefer
|
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
class EditOptionalCasePropertiesPanel extends javax.swing.JPanel {
|
class EditOptionalCasePropertiesPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
@ -31,7 +31,6 @@ import javax.swing.event.DocumentEvent;
|
|||||||
import javax.swing.event.DocumentListener;
|
import javax.swing.event.DocumentListener;
|
||||||
import javax.swing.filechooser.FileFilter;
|
import javax.swing.filechooser.FileFilter;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.openide.util.Exceptions;
|
|
||||||
import org.openide.util.NbBundle;
|
import org.openide.util.NbBundle;
|
||||||
import static org.sleuthkit.autopsy.casemodule.Bundle.*;
|
import static org.sleuthkit.autopsy.casemodule.Bundle.*;
|
||||||
import org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor;
|
import org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor;
|
||||||
@ -46,6 +45,7 @@ import org.sleuthkit.autopsy.coreutils.PathValidator;
|
|||||||
* to select a file as well as choose the timezone and whether to ignore orphan
|
* to select a file as well as choose the timezone and whether to ignore orphan
|
||||||
* files in FAT32.
|
* files in FAT32.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
public class ImageFilePanel extends JPanel implements DocumentListener {
|
public class ImageFilePanel extends JPanel implements DocumentListener {
|
||||||
|
|
||||||
private static final Logger logger = Logger.getLogger(ImageFilePanel.class.getName());
|
private static final Logger logger = Logger.getLogger(ImageFilePanel.class.getName());
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2017-18 Basis Technology Corp.
|
* Copyright 2017-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -57,6 +57,7 @@ import org.sleuthkit.datamodel.TskCoreException;
|
|||||||
* Panel that holds the Filter control widgets and triggers queries against the
|
* Panel that holds the Filter control widgets and triggers queries against the
|
||||||
* CommunicationsManager on user filtering changes.
|
* CommunicationsManager on user filtering changes.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
final public class FiltersPanel extends JPanel {
|
final public class FiltersPanel extends JPanel {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
@ -76,6 +76,7 @@ import org.sleuthkit.datamodel.TskData;
|
|||||||
@ServiceProviders(value = {
|
@ServiceProviders(value = {
|
||||||
@ServiceProvider(service = FrameCapture.class)
|
@ServiceProvider(service = FrameCapture.class)
|
||||||
})
|
})
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
public class FXVideoPanel extends MediaViewVideoPanel {
|
public class FXVideoPanel extends MediaViewVideoPanel {
|
||||||
|
|
||||||
// Refer to https://docs.oracle.com/javafx/2/api/javafx/scene/media/package-summary.html
|
// Refer to https://docs.oracle.com/javafx/2/api/javafx/scene/media/package-summary.html
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2014 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -38,8 +38,9 @@ import org.sleuthkit.datamodel.Content;
|
|||||||
import org.sleuthkit.datamodel.TskCoreException;
|
import org.sleuthkit.datamodel.TskCoreException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Data content panel.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
public class DataContentPanel extends javax.swing.JPanel implements DataContent, ChangeListener {
|
public class DataContentPanel extends javax.swing.JPanel implements DataContent, ChangeListener {
|
||||||
|
|
||||||
private static Logger logger = Logger.getLogger(DataContentPanel.class.getName());
|
private static Logger logger = Logger.getLogger(DataContentPanel.class.getName());
|
||||||
@ -241,7 +242,7 @@ public class DataContentPanel extends javax.swing.JPanel implements DataContent,
|
|||||||
|
|
||||||
private static class UpdateWrapper {
|
private static class UpdateWrapper {
|
||||||
|
|
||||||
private DataContentViewer wrapped;
|
private final DataContentViewer wrapped;
|
||||||
private boolean outdated;
|
private boolean outdated;
|
||||||
|
|
||||||
UpdateWrapper(DataContentViewer wrapped) {
|
UpdateWrapper(DataContentViewer wrapped) {
|
||||||
|
@ -72,6 +72,7 @@ import org.sleuthkit.autopsy.datamodel.NodeSelectionInfo;
|
|||||||
* (DataContentTopComponent) that is normally docked into the lower right hand
|
* (DataContentTopComponent) that is normally docked into the lower right hand
|
||||||
* side of the main application window, or it could be a custom content view.
|
* side of the main application window, or it could be a custom content view.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
public class DataResultPanel extends javax.swing.JPanel implements DataResult, ChangeListener, ExplorerManager.Provider {
|
public class DataResultPanel extends javax.swing.JPanel implements DataResult, ChangeListener, ExplorerManager.Provider {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@ -451,7 +452,7 @@ public class DataResultPanel extends javax.swing.JPanel implements DataResult, C
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
if (tabToSelect == NO_TAB_SELECTED) {
|
if (tabToSelect == NO_TAB_SELECTED) {
|
||||||
tabToSelect = resultViewerTabs.getSelectedIndex();
|
tabToSelect = resultViewerTabs.getSelectedIndex();
|
||||||
if ((tabToSelect == NO_TAB_SELECTED) || (!resultViewerTabs.isEnabledAt(tabToSelect))) {
|
if ((tabToSelect == NO_TAB_SELECTED) || (!resultViewerTabs.isEnabledAt(tabToSelect))) {
|
||||||
|
@ -27,9 +27,8 @@ import org.sleuthkit.datamodel.TskCoreException;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the form / panel to show the File System Details.
|
* This is the form / panel to show the File System Details.
|
||||||
*
|
|
||||||
* @author jantonius
|
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
final class FileSystemDetailsPanel extends javax.swing.JPanel {
|
final class FileSystemDetailsPanel extends javax.swing.JPanel {
|
||||||
private static final Logger logger = Logger.getLogger(FileSystemDetailsPanel.class.getName());
|
private static final Logger logger = Logger.getLogger(FileSystemDetailsPanel.class.getName());
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -16,21 +16,14 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* ImageDetailsPanel.java
|
|
||||||
*
|
|
||||||
* Created on May 2, 2011, 3:53:49 PM
|
|
||||||
*/
|
|
||||||
package org.sleuthkit.autopsy.directorytree;
|
package org.sleuthkit.autopsy.directorytree;
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Image details panel.
|
||||||
* @author jantonius
|
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
class ImageDetailsPanel extends javax.swing.JPanel {
|
class ImageDetailsPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -16,12 +16,6 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* FileSearchPanel.java
|
|
||||||
*
|
|
||||||
* Created on Mar 5, 2012, 1:51:50 PM
|
|
||||||
*/
|
|
||||||
package org.sleuthkit.autopsy.filesearch;
|
package org.sleuthkit.autopsy.filesearch;
|
||||||
|
|
||||||
import java.awt.Component;
|
import java.awt.Component;
|
||||||
@ -56,6 +50,7 @@ import org.sleuthkit.datamodel.TskCoreException;
|
|||||||
/**
|
/**
|
||||||
* FileSearchPanel that present search options
|
* FileSearchPanel that present search options
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
class FileSearchPanel extends javax.swing.JPanel {
|
class FileSearchPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
private final List<FilterArea> filterAreas = new ArrayList<>();
|
private final List<FilterArea> filterAreas = new ArrayList<>();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2017 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -27,8 +27,9 @@ import javax.swing.event.DocumentEvent;
|
|||||||
import javax.swing.event.DocumentListener;
|
import javax.swing.event.DocumentListener;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Panel to allow examiner to search for a hash value.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
class HashSearchPanel extends javax.swing.JPanel {
|
class HashSearchPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2014 Basis Technology Corp.
|
* Copyright 2014-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -22,6 +22,7 @@ package org.sleuthkit.autopsy.ingest;
|
|||||||
* A UI panel that allows a user to make data source ingest cancellation
|
* A UI panel that allows a user to make data source ingest cancellation
|
||||||
* requests.
|
* requests.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
final class DataSourceIngestCancellationPanel extends javax.swing.JPanel {
|
final class DataSourceIngestCancellationPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
private boolean cancelAllIngestModules;
|
private boolean cancelAllIngestModules;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2013 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -25,6 +25,7 @@ import org.sleuthkit.autopsy.coreutils.Logger;
|
|||||||
* the main layered pane container for messages table (IngestMessagePanel) and
|
* the main layered pane container for messages table (IngestMessagePanel) and
|
||||||
* details view (IngestMessageDetailsPanel)
|
* details view (IngestMessageDetailsPanel)
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
class IngestMessageMainPanel extends javax.swing.JPanel {
|
class IngestMessageMainPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
private IngestMessagePanel messagePanel;
|
private IngestMessagePanel messagePanel;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2014 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -36,6 +36,7 @@ import java.util.HashMap;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
import javax.swing.DefaultComboBoxModel;
|
||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.JTable;
|
import javax.swing.JTable;
|
||||||
@ -51,14 +52,13 @@ import javax.swing.table.TableCellRenderer;
|
|||||||
import org.openide.util.NbBundle;
|
import org.openide.util.NbBundle;
|
||||||
import org.sleuthkit.autopsy.coreutils.Logger;
|
import org.sleuthkit.autopsy.coreutils.Logger;
|
||||||
import org.sleuthkit.autopsy.coreutils.MessageNotifyUtil;
|
import org.sleuthkit.autopsy.coreutils.MessageNotifyUtil;
|
||||||
import org.sleuthkit.autopsy.ingest.IngestMessage.*;
|
|
||||||
import org.sleuthkit.autopsy.ingest.IngestMessage.MessageType;
|
import org.sleuthkit.autopsy.ingest.IngestMessage.MessageType;
|
||||||
import org.sleuthkit.datamodel.BlackboardArtifact;
|
import org.sleuthkit.datamodel.BlackboardArtifact;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notification window showing messages from modules to user
|
* Notification window showing messages from modules to user
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
class IngestMessagePanel extends JPanel implements TableModelListener {
|
class IngestMessagePanel extends JPanel implements TableModelListener {
|
||||||
|
|
||||||
private final MessageTableModel tableModel;
|
private final MessageTableModel tableModel;
|
||||||
@ -245,7 +245,7 @@ class IngestMessagePanel extends JPanel implements TableModelListener {
|
|||||||
* It is not possible to internationalize the list of options in a ComboBox
|
* It is not possible to internationalize the list of options in a ComboBox
|
||||||
* inside of the generated form code. So, it is done here.
|
* inside of the generated form code. So, it is done here.
|
||||||
*/
|
*/
|
||||||
sortByComboBox.setModel(new javax.swing.DefaultComboBoxModel<String>(new String[] {
|
sortByComboBox.setModel(new DefaultComboBoxModel<>(new String[] {
|
||||||
NbBundle.getMessage(this.getClass(), "IngestMessagePanel.sortByComboBox.model.time"),
|
NbBundle.getMessage(this.getClass(), "IngestMessagePanel.sortByComboBox.model.time"),
|
||||||
NbBundle.getMessage(this.getClass(), "IngestMessagePanel.sortByComboBox.model.priority")}));
|
NbBundle.getMessage(this.getClass(), "IngestMessagePanel.sortByComboBox.model.priority")}));
|
||||||
|
|
||||||
@ -519,7 +519,7 @@ class IngestMessagePanel extends JPanel implements TableModelListener {
|
|||||||
if (moduleName != null && m.getMessageType() == IngestMessage.MessageType.DATA) {
|
if (moduleName != null && m.getMessageType() == IngestMessage.MessageType.DATA) {
|
||||||
//not a manager message, a data message, then group
|
//not a manager message, a data message, then group
|
||||||
if (!groupings.containsKey(moduleName)) {
|
if (!groupings.containsKey(moduleName)) {
|
||||||
groupings.put(moduleName, new HashMap<String, List<IngestMessageGroup>>());
|
groupings.put(moduleName, new HashMap<>());
|
||||||
}
|
}
|
||||||
final Map<String, List<IngestMessageGroup>> groups = groupings.get(moduleName);
|
final Map<String, List<IngestMessageGroup>> groups = groupings.get(moduleName);
|
||||||
//groups for this uniqueness
|
//groups for this uniqueness
|
||||||
@ -564,7 +564,7 @@ class IngestMessagePanel extends JPanel implements TableModelListener {
|
|||||||
messageGroup = first;
|
messageGroup = first;
|
||||||
//move to bottom of table
|
//move to bottom of table
|
||||||
//remove from existing position
|
//remove from existing position
|
||||||
int toRemove = 0;
|
int toRemove;
|
||||||
while ((toRemove = getTableEntryIndex(uniqueness)) != -1) {
|
while ((toRemove = getTableEntryIndex(uniqueness)) != -1) {
|
||||||
messageData.remove(toRemove);
|
messageData.remove(toRemove);
|
||||||
//remove the row, will be added to the bottom
|
//remove the row, will be added to the bottom
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2017 Basis Technology Corp.
|
* Copyright 2011-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -32,6 +32,7 @@ import org.sleuthkit.autopsy.modules.interestingitems.FilesSetDefsPanel.PANEL_TY
|
|||||||
/**
|
/**
|
||||||
* Global options panel for keyword searching.
|
* Global options panel for keyword searching.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
public class IngestOptionsPanel extends IngestModuleGlobalSettingsPanel implements OptionsPanel {
|
public class IngestOptionsPanel extends IngestModuleGlobalSettingsPanel implements OptionsPanel {
|
||||||
|
|
||||||
@NbBundle.Messages({"IngestOptionsPanel.settingsTab.text=Settings",
|
@NbBundle.Messages({"IngestOptionsPanel.settingsTab.text=Settings",
|
||||||
|
@ -38,6 +38,7 @@ import org.sleuthkit.autopsy.ingest.IngestManager;
|
|||||||
/**
|
/**
|
||||||
* Searches for files by md5 hash, based off the hash given in this panel.
|
* Searches for files by md5 hash, based off the hash given in this panel.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
class HashDbSearchPanel extends javax.swing.JPanel implements ActionListener {
|
class HashDbSearchPanel extends javax.swing.JPanel implements ActionListener {
|
||||||
|
|
||||||
private static final Logger logger = Logger.getLogger(HashDbSearchPanel.class.getName());
|
private static final Logger logger = Logger.getLogger(HashDbSearchPanel.class.getName());
|
||||||
@ -329,7 +330,7 @@ class HashDbSearchPanel extends javax.swing.JPanel implements ActionListener {
|
|||||||
errorField.setVisible(false);
|
errorField.setVisible(false);
|
||||||
// Get all the rows in the table
|
// Get all the rows in the table
|
||||||
int numRows = hashTable.getRowCount();
|
int numRows = hashTable.getRowCount();
|
||||||
ArrayList<String> hashes = new ArrayList<String>();
|
ArrayList<String> hashes = new ArrayList<>();
|
||||||
for (int i = 0; i < numRows; i++) {
|
for (int i = 0; i < numRows; i++) {
|
||||||
hashes.add((String) hashTable.getValueAt(i, 0));
|
hashes.add((String) hashTable.getValueAt(i, 0));
|
||||||
}
|
}
|
||||||
|
@ -38,6 +38,7 @@ import org.sleuthkit.autopsy.modules.interestingitems.FilesSetDefsPanel.PANEL_TY
|
|||||||
/**
|
/**
|
||||||
* A panel that allows a user to create and edit files set membership rules.
|
* A panel that allows a user to create and edit files set membership rules.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
final class FilesSetRulePanel extends javax.swing.JPanel {
|
final class FilesSetRulePanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
@Messages({
|
@Messages({
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2012 Basis Technology Corp.
|
* Copyright 2012-2018 Basis Technology Corp.
|
||||||
* Contact: carrier <at> sleuthkit <dot> org
|
* Contact: carrier <at> sleuthkit <dot> org
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -18,11 +18,10 @@
|
|||||||
*/
|
*/
|
||||||
package org.sleuthkit.autopsy.report;
|
package org.sleuthkit.autopsy.report;
|
||||||
|
|
||||||
import java.awt.*;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The panel shown for all TableReportModules when configuring report modules.
|
* The panel shown for all TableReportModules when configuring report modules.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
|
||||||
public class DefaultReportConfigurationPanel extends javax.swing.JPanel {
|
public class DefaultReportConfigurationPanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user