mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 09:47:42 +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.
|
||||
*/
|
||||
Date getStartTime() {
|
||||
if (startTime == null) {
|
||||
throw new IllegalStateException("startUp() was not called"); //NON-NLS
|
||||
Date reportedStartTime = null;
|
||||
if (startTime != null) {
|
||||
reportedStartTime = new Date(startTime.getTime());
|
||||
}
|
||||
return new Date(startTime.getTime());
|
||||
return reportedStartTime;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user