Skip to content

Commit

Permalink
Merge pull request #300 from mingyang143/last-branch
Browse files Browse the repository at this point in the history
Fix Javadocs
  • Loading branch information
estellelim authored Nov 12, 2024
2 parents f92f92a + b1c409e commit 3f92474
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ public JsonSerializableAddressBook(ReadOnlyAddressBook source) {
);
}

/**
* Validates if the lessons in the addressbook have valid subjects.
*
* @param addressBook the addressbook to validate
*/
public boolean validateLessonSubject(AddressBook addressBook) {
ObservableList<Lesson> lessonList = addressBook.getLessonList();
for (Lesson lesson : lessonList) {
Expand Down

0 comments on commit 3f92474

Please sign in to comment.