mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Cleanup
This commit is contained in:
parent
e416a6f170
commit
fe9c1edc84
@ -40,7 +40,6 @@ public final class AutoIngestUserPreferences {
|
||||
private static final int DEFAULT_MAX_TIMES_TO_PROCESS_IMAGE = 0;
|
||||
private static final String MAX_CONCURRENT_NODES_FOR_ONE_CASE = "MaxConcurrentNodesForOneCase"; // NON-NLS
|
||||
private static final String INPUT_SCAN_INTERVAL_TIME = "IntervalBetweenInputScan"; // NON-NLS
|
||||
private static final String CLEANUP_INTERVAL_TIME = "IntervalBetweenCleanupHrs"; // NON-NLS
|
||||
|
||||
// Prevent instantiation.
|
||||
private AutoIngestUserPreferences() {
|
||||
@ -283,16 +282,6 @@ public final class AutoIngestUserPreferences {
|
||||
return value.isEmpty() ? 60 : Integer.parseInt(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the configured time for automated input and output cleanup interval
|
||||
*
|
||||
* @return int the value in hours, default is 3 hours.
|
||||
*/
|
||||
public static int getHoursOfCleanupInterval() {
|
||||
String value = getPreferenceValue(CLEANUP_INTERVAL_TIME);
|
||||
return value.isEmpty() ? 3 : Integer.parseInt(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the configured time for input scan interval
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user