Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
chonguschonguschongus committed Nov 13, 2023
1 parent 74faf91 commit e8a55ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

/**
* A list of Appointments that enforces uniqueness between its elements and does not allow nulls.
* A person is considered unique by comparing using {@code Appointment#equals(Appointment)} As such, adding and updating of
* Appointments uses Appointment#equals(Appointment) for equality to ensure that the person being added or updated is
* unique in terms of identity in the UniqueAppointmentList.
* A person is considered unique by comparing using {@code Appointment#equals(Appointment)} As such, adding
* and updating of Appointments uses Appointment#equals(Appointment) for equality
* to ensure that the person being added or updated is unique in terms of identity in the UniqueAppointmentList.
*
* Supports a minimal set of list operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* A list of Patients that enforces uniqueness between its elements and does not allow nulls.
* A Patient is considered unique by comparing using {@code Person#isSamePerson(Person)}. As such, adding and updating of
* A Patient is considered unique by comparing using {@code Person#isSamePerson(Person)}. As such, adding of
* Patients uses Person#isSamePerson(Person) for equality so as to ensure that the person being added or updated is
* unique in terms of identity in the UniquePatientList. However, the removal of a Patient uses Person#equals(Object) so
* as to ensure that the Patient with exactly the same fields will be removed.
Expand Down

0 comments on commit e8a55ef

Please sign in to comment.