mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Final format checking
This commit is contained in:
parent
e842001237
commit
2ccf455568
@ -380,11 +380,12 @@ class OtherOccurrenceUtilities {
|
||||
/**
|
||||
* Create a cvs file of occurrences for the given parameters.
|
||||
*
|
||||
* @param destFile Output file for the csv data.
|
||||
* @param abstractFile Source file.
|
||||
* @param correlationAttList List of correclationAttributeInstances, should not be null.
|
||||
* @param dataSourceName Name of the data source.
|
||||
* @param deviceId Device id.
|
||||
* @param destFile Output file for the csv data.
|
||||
* @param abstractFile Source file.
|
||||
* @param correlationAttList List of correclationAttributeInstances, should
|
||||
* not be null.
|
||||
* @param dataSourceName Name of the data source.
|
||||
* @param deviceId Device id.
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
|
@ -174,7 +174,7 @@ public final class OtherOccurrencesPanel extends javax.swing.JPanel {
|
||||
*/
|
||||
private void showCommonalityDetails() {
|
||||
if (correlationAttributes.isEmpty()) {
|
||||
JOptionPane.showConfirmDialog(showCommonalityMenuItem,
|
||||
JOptionPane.showConfirmDialog(OtherOccurrencesPanel.this,
|
||||
Bundle.OtherOccurrencesPanel_correlatedArtifacts_isEmpty(),
|
||||
Bundle.OtherOccurrencesPanel_correlatedArtifacts_title(),
|
||||
DEFAULT_OPTION, PLAIN_MESSAGE);
|
||||
@ -196,14 +196,14 @@ public final class OtherOccurrencesPanel extends javax.swing.JPanel {
|
||||
}
|
||||
}
|
||||
this.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||
JOptionPane.showConfirmDialog(showCommonalityMenuItem,
|
||||
JOptionPane.showConfirmDialog(OtherOccurrencesPanel.this,
|
||||
msg.toString(),
|
||||
Bundle.OtherOccurrencesPanel_correlatedArtifacts_title(),
|
||||
DEFAULT_OPTION, PLAIN_MESSAGE);
|
||||
} catch (CentralRepoException ex) {
|
||||
this.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||
logger.log(Level.SEVERE, "Error getting commonality details.", ex);
|
||||
JOptionPane.showConfirmDialog(showCommonalityMenuItem,
|
||||
JOptionPane.showConfirmDialog(OtherOccurrencesPanel.this,
|
||||
Bundle.OtherOccurrencesPanel_correlatedArtifacts_failed(),
|
||||
Bundle.OtherOccurrencesPanel_correlatedArtifacts_title(),
|
||||
DEFAULT_OPTION, ERROR_MESSAGE);
|
||||
@ -245,7 +245,7 @@ public final class OtherOccurrencesPanel extends javax.swing.JPanel {
|
||||
} catch (CentralRepoException ex) {
|
||||
logger.log(Level.SEVERE, "Error loading case details", ex);
|
||||
} finally {
|
||||
JOptionPane.showConfirmDialog(showCaseDetailsMenuItem,
|
||||
JOptionPane.showConfirmDialog(OtherOccurrencesPanel.this,
|
||||
details,
|
||||
caseDisplayName,
|
||||
DEFAULT_OPTION, PLAIN_MESSAGE);
|
||||
@ -392,7 +392,7 @@ public final class OtherOccurrencesPanel extends javax.swing.JPanel {
|
||||
*/
|
||||
private void updateOnCaseSelection() {
|
||||
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
||||
try{
|
||||
try {
|
||||
int[] selectedCaseIndexes = casesTable.getSelectedRows();
|
||||
dataSourcesTableModel.clearTable();
|
||||
filesTableModel.clearTable();
|
||||
@ -446,7 +446,7 @@ public final class OtherOccurrencesPanel extends javax.swing.JPanel {
|
||||
*/
|
||||
private void updateOnDataSourceSelection() {
|
||||
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
||||
try{
|
||||
try {
|
||||
int[] selectedDataSources = dataSourcesTable.getSelectedRows();
|
||||
filesTableModel.clearTable();
|
||||
for (CorrelationAttributeInstance corAttr : correlationAttributes) {
|
||||
@ -477,7 +477,7 @@ public final class OtherOccurrencesPanel extends javax.swing.JPanel {
|
||||
filesTable.setRowSelectionInterval(0, 0);
|
||||
}
|
||||
} finally {
|
||||
setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||
setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||
}
|
||||
}
|
||||
|
||||
@ -487,7 +487,7 @@ public final class OtherOccurrencesPanel extends javax.swing.JPanel {
|
||||
*/
|
||||
private void updateOnFileSelection() {
|
||||
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
||||
try{
|
||||
try {
|
||||
if (filesTable.getSelectedRowCount() == 1) {
|
||||
//if there is one file selected update the deatils to show the data for that file
|
||||
occurrencePanel = new OccurrencePanel(filesTableModel.getListOfNodesForFile(filesTable.convertRowIndexToModel(filesTable.getSelectedRow())));
|
||||
|
Loading…
x
Reference in New Issue
Block a user