mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Merge pull request #6860 from rcordovano/7389-illegal-arg-ex-ingets-task-pipeline
7389 Remove erroneous IllegalArgumentException throw from IngestTaskPipeline
This commit is contained in:
commit
a1fbafcd08
@ -144,10 +144,11 @@ abstract class IngestTaskPipeline<T extends IngestTask> {
|
|||||||
* not been started yet.
|
* not been started yet.
|
||||||
*/
|
*/
|
||||||
Date getStartTime() {
|
Date getStartTime() {
|
||||||
if (startTime == null) {
|
Date reportedStartTime = null;
|
||||||
throw new IllegalStateException("startUp() was not called"); //NON-NLS
|
if (startTime != null) {
|
||||||
|
reportedStartTime = new Date(startTime.getTime());
|
||||||
}
|
}
|
||||||
return new Date(startTime.getTime());
|
return reportedStartTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user