Improved comments. No functional changes.
Changed so that if there is an unhandled exception with a thread which
will causes the thread to die, which of course should never happen, then
the error message logging will now also send an e-mail.
Improved comments. No functional changes.
Improved comments and logging. No functional changes.
Fixed so can handle CSV files without any rows of data.
Changed to not match a vehicle to a block assignment if match is almost
at end of block. This prevents vehicle from finishing a block and being
unassigned and then right away being assigned again.
Changed to not match a vehicle to a block assignment if match is almost
at end of block. This prevents vehicle from finishing a block and being
unassigned and then right away being assigned again.
Improved comments. No functional changes.
Removed unneeded import. No functional changes.
After checkScheduleAdherence() is called changed to make sure only
continue process vehicle if it really is predictable.
Changed logging when there are multiple bad AVL reports that can't be
matched in a row to be a warning instead of an error because there isn't
an error with the software.
Changed toString() to not output timeProcessed unless it is not null.
This way don't see the peculiar timeProcessed=null when AVL is logged
before timeProcessed can be set.
Added logging of each AVL report.
Added getPreviousAvlReport() so can use two AVL reports when doing
initial matching and heading info not valid for the new AVL report.
Multiple changes so can use two AVL reports when doing initial matching
and heading info not valid for the new AVL report.
Took out debugging logging so more ready for production. Added to
pattern the thread ID so can understand what is happening when multiple
threads are used to process data.
Changed class name of DataProcessor to AvlProcessor to better reflect
what it actually does.
Improved AVL logging to also include URI of file data being read from.
No functional changes.
Improved logging message. No functional changes.
Added toString() methods to help with debugging.