mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Simplified getIngestJobSettingsPanel().
This commit is contained in:
parent
43187f2e1c
commit
b01b197556
@ -94,9 +94,6 @@ public class IngestModuleFactory extends IngestModuleFactoryAdapter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IngestModuleIngestJobSettingsPanel getIngestJobSettingsPanel(IngestModuleIngestJobSettings settings) {
|
public IngestModuleIngestJobSettingsPanel getIngestJobSettingsPanel(IngestModuleIngestJobSettings settings) {
|
||||||
if (!(settings instanceof IngestSettings)) {
|
|
||||||
throw new IllegalArgumentException("Expected settings argument to be an instance of IngestSettings");
|
|
||||||
}
|
|
||||||
return new IngestSettingsPanel((IngestSettings) settings);
|
return new IngestSettingsPanel((IngestSettings) settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user