-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix appointment bug #110
Fix appointment bug #110
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #110 +/- ##
============================================
+ Coverage 79.49% 79.52% +0.02%
Complexity 673 673
============================================
Files 107 107
Lines 2063 2066 +3
Branches 214 214
============================================
+ Hits 1640 1643 +3
Misses 366 366
Partials 57 57 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Good job Zhiyang.
@@ -11,6 +11,7 @@ | |||
import seedu.address.model.Model; | |||
import seedu.address.model.appointment.Appointment; | |||
import seedu.address.model.appointment.exceptions.InvalidAppointmentException; | |||
import seedu.address.model.person.exceptions.PersonNotFoundException; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job for adding in an exception.
@@ -160,7 +160,7 @@ private boolean personsAreUnique(List<Person> persons) { | |||
return true; | |||
} | |||
|
|||
public Person getPersonByNric(Nric nricObj) { | |||
public Person getPersonByNric(Nric nricObj) throws PersonNotFoundException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! This looks good to me.
f9f8204
into
AY2324S2-CS2103T-T15-1:master
No description provided.