Minor changes to conform to coding standards.

This commit is contained in:
U-BASIS\dgrove 2018-03-07 17:45:54 -05:00
parent 3a010a9da9
commit dadffe7df2
2 changed files with 2 additions and 8 deletions

View File

@ -23,7 +23,7 @@ import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettings;
/**
* Ingest job settings for the PhotoRec Carver module.
*/
public class PhotoRecCarverIngestJobSettings implements IngestModuleIngestJobSettings {
final class PhotoRecCarverIngestJobSettings implements IngestModuleIngestJobSettings {
private static final long serialVersionUID = 1L;

View File

@ -1,7 +1,7 @@
/*
* Autopsy Forensic Browser
*
* Copyright 2011-2016 Basis Technology Corp.
* Copyright 2011-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
@ -66,9 +66,6 @@ public class PhotoRecCarverIngestModuleFactory extends IngestModuleFactoryAdapte
@Override
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);
}
@ -84,9 +81,6 @@ public class PhotoRecCarverIngestModuleFactory extends IngestModuleFactoryAdapte
@Override
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);
}