From 5e36db0ab6e9ef397effdb83ec7708621b2946ed Mon Sep 17 00:00:00 2001 From: Andrew Janong Date: Fri, 3 Nov 2023 02:41:46 +0800 Subject: [PATCH] Fix checkstyle --- src/main/java/seedu/address/model/event/UniqueEventList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;