1
0
mirror of https://github.com/moparisthebest/rcrdit synced 2024-12-22 07:18:56 -05:00

Add missing null check

This commit is contained in:
Travis Burtrum 2017-11-20 20:02:51 -05:00
parent fdb2f46fc8
commit bcbca03ffb

View File

@ -319,7 +319,7 @@ public class RcrdIt extends ResourceConfig implements AutoCloseable {
} }
} }
if(lastStop != null) { // todo: check if lastStop and start are the same, but shouldn't happen? if(lastStop != null && start != null) { // todo: check if lastStop and start are the same, but shouldn't happen?
addMeeting(calendar, tz, lastStop, start, program, md, true); addMeeting(calendar, tz, lastStop, start, program, md, true);
} }
if(start != null && stop != null) { if(start != null && stop != null) {