Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJanong committed Nov 2, 2023
1 parent 6f6927d commit 5e36db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/model/event/UniqueEventList.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Check warning on line 170 in src/main/java/seedu/address/model/event/UniqueEventList.java

View check run for this annotation

Codecov / codecov/patch

src/main/java/seedu/address/model/event/UniqueEventList.java#L170

Added line #L170 was not covered by tests
Expand All @@ -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;

Check warning on line 180 in src/main/java/seedu/address/model/event/UniqueEventList.java

View check run for this annotation

Codecov / codecov/patch

src/main/java/seedu/address/model/event/UniqueEventList.java#L180

Added line #L180 was not covered by tests
Expand Down

0 comments on commit 5e36db0

Please sign in to comment.