mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
npe in certain situations fixed
This commit is contained in:
parent
a41073542c
commit
898448abc5
@ -20,6 +20,7 @@
|
||||
package org.sleuthkit.autopsy.commonfilesearch;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import javax.swing.ComboBoxModel;
|
||||
@ -41,7 +42,6 @@ public class IntraCasePanel extends javax.swing.JPanel {
|
||||
private String selectedDataSource;
|
||||
private ComboBoxModel<String> dataSourcesList = new DataSourceComboBoxModel();
|
||||
private Map<Long, String> dataSourceMap;
|
||||
private CommonAttributePanel parent;
|
||||
|
||||
private String errorMessage;
|
||||
|
||||
@ -51,10 +51,7 @@ public class IntraCasePanel extends javax.swing.JPanel {
|
||||
public IntraCasePanel() {
|
||||
initComponents();
|
||||
this.errorMessage = "";
|
||||
}
|
||||
|
||||
public void setParent(CommonAttributePanel parent){
|
||||
this.parent = parent;
|
||||
this.dataSourceMap = new HashMap<>();
|
||||
}
|
||||
|
||||
public boolean isSingleDataSource(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user