mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Minor changes to conform to coding standards.
This commit is contained in:
parent
3a010a9da9
commit
dadffe7df2
@ -23,7 +23,7 @@ import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettings;
|
|||||||
/**
|
/**
|
||||||
* Ingest job settings for the PhotoRec Carver module.
|
* Ingest job settings for the PhotoRec Carver module.
|
||||||
*/
|
*/
|
||||||
public class PhotoRecCarverIngestJobSettings implements IngestModuleIngestJobSettings {
|
final class PhotoRecCarverIngestJobSettings implements IngestModuleIngestJobSettings {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Autopsy Forensic Browser
|
* Autopsy Forensic Browser
|
||||||
*
|
*
|
||||||
* Copyright 2011-2016 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");
|
||||||
@ -66,9 +66,6 @@ public class PhotoRecCarverIngestModuleFactory extends IngestModuleFactoryAdapte
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FileIngestModule createFileIngestModule(IngestModuleIngestJobSettings settings) {
|
public FileIngestModule createFileIngestModule(IngestModuleIngestJobSettings settings) {
|
||||||
if (!(settings instanceof PhotoRecCarverIngestJobSettings)) {
|
|
||||||
throw new IllegalArgumentException("Expected settings argument to be an instance of PhotoRecCarverIngestJobSettings.");
|
|
||||||
}
|
|
||||||
return new PhotoRecCarverFileIngestModule((PhotoRecCarverIngestJobSettings) settings);
|
return new PhotoRecCarverFileIngestModule((PhotoRecCarverIngestJobSettings) settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,9 +81,6 @@ public class PhotoRecCarverIngestModuleFactory extends IngestModuleFactoryAdapte
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IngestModuleIngestJobSettingsPanel getIngestJobSettingsPanel(IngestModuleIngestJobSettings settings) {
|
public IngestModuleIngestJobSettingsPanel getIngestJobSettingsPanel(IngestModuleIngestJobSettings settings) {
|
||||||
if (!(settings instanceof PhotoRecCarverIngestJobSettings)) {
|
|
||||||
throw new IllegalArgumentException("Expected settings argument to be an instance of PhotoRecCarverIngestJobSettings");
|
|
||||||
}
|
|
||||||
return new PhotoRecCarverIngestJobSettingsPanel((PhotoRecCarverIngestJobSettings) settings);
|
return new PhotoRecCarverIngestJobSettingsPanel((PhotoRecCarverIngestJobSettings) settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user