Fixing NPE when de-serializing start of tracking race log event with null start of tracking time

This commit is contained in:
Axel Uhl committed 2015-09-18 09:40:09 +02:00
1 parent 220903a34f
commit a5cda4ce2f
3 files changed
+6 -4

No files matched your search

@@ -61,7 +61,7 @@ public abstract class BaseRaceLogEventDeserializer implements JsonDeserializer<R
Helpers.tryUuidConversion(id),
new MillisecondsTimePoint(createdAt.longValue()),
author,
new MillisecondsTimePoint(timeStamp.longValue()),
timeStamp == null ? null : new MillisecondsTimePoint(timeStamp.longValue()),
passId.intValue(), competitors);
}