diff --git a/src/main/java/seedu/address/model/event/UniqueEventList.java b/src/main/java/seedu/address/model/event/UniqueEventList.java index 96d1b98ea9c..1646a8b068f 100644 --- a/src/main/java/seedu/address/model/event/UniqueEventList.java +++ b/src/main/java/seedu/address/model/event/UniqueEventList.java @@ -164,7 +164,7 @@ private Event getOverlappingEvent(Event newEvent) { LocalDateTime newEventStartTime = newEvent.getStartTime(); LocalDateTime newEventEndTime = newEvent.getEndTime(); - assert newEventStartTime != null: "Start time should not be null"; + assert newEventStartTime != null : "Start time should not be null"; if (newEventEndTime == null) { newEventEndTime = newEventStartTime; @@ -174,7 +174,7 @@ private Event getOverlappingEvent(Event newEvent) { LocalDateTime startTime = e.getStartTime(); LocalDateTime endTime = e.getEndTime(); - assert startTime != null: "Start time should not be null"; + assert startTime != null : "Start time should not be null"; if (endTime == null) { endTime = startTime;