Skip to content

Commit

Permalink
ExamReservation: fix a NullPointerException in equals method
Browse files Browse the repository at this point in the history
  • Loading branch information
matypist committed Mar 8, 2023
1 parent 079080d commit cb16982
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public boolean equals(Object o) {
Objects.equals(note, that.note) &&
Objects.equals(ssd, that.ssd) &&
Objects.equals(module, that.module) &&
attendingModesList.equals(that.attendingModesList) &&
((attendingModesList == null && that.attendingModesList == null) || (attendingModesList != null && that.attendingModesList != null && attendingModesList.equals(that.attendingModesList))) &&
Objects.equals(attendingModeType, that.attendingModeType);
}

Expand Down

0 comments on commit cb16982

Please sign in to comment.