mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
make data member private in search filters view
This commit is contained in:
parent
1c1d3c52ae
commit
9c4ddb10c8
@ -27,7 +27,7 @@ import org.sleuthkit.datamodel.SleuthkitCase;
|
||||
*/
|
||||
public class SearchFilters implements AutopsyVisitableItem {
|
||||
|
||||
SleuthkitCase skCase;
|
||||
private SleuthkitCase skCase;
|
||||
|
||||
public enum FileSearchFilter implements AutopsyVisitableItem,SearchFilterInterface {
|
||||
TSK_IMAGE_FILTER(0, "TSK_IMAGE_FILTER", "Images", FileTypeExtensions.getImageExtensions()),
|
||||
@ -35,10 +35,10 @@ public class SearchFilters implements AutopsyVisitableItem {
|
||||
TSK_AUDIO_FILTER(2, "TSK_AUDIO_FILTER", "Audio", FileTypeExtensions.getAudioExtensions()),
|
||||
TSK_DOCUMENT_FILTER(3, "TSK_DOCUMENT_FILTER", "Documents", Arrays.asList(".doc", ".docx", ".pdf", ".xls", ".rtf", ".txt"));
|
||||
|
||||
int id;
|
||||
String name;
|
||||
String displayName;
|
||||
List<String> filter;
|
||||
private int id;
|
||||
private String name;
|
||||
private String displayName;
|
||||
private List<String> filter;
|
||||
|
||||
private FileSearchFilter(int id, String name, String displayName, List<String> filter){
|
||||
this.id = id;
|
||||
|
@ -27,12 +27,11 @@ import org.sleuthkit.datamodel.SleuthkitCase;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author dfickling
|
||||
*/
|
||||
class SearchFiltersChildren extends ChildFactory<SearchFilters.SearchFilterInterface> {
|
||||
|
||||
SleuthkitCase skCase;
|
||||
boolean root;
|
||||
private SleuthkitCase skCase;
|
||||
private boolean root;
|
||||
|
||||
public SearchFiltersChildren(SleuthkitCase skCase, boolean root) {
|
||||
this.skCase = skCase;
|
||||
|
Loading…
x
Reference in New Issue
Block a user