Skip to content

Commit

Permalink
Fix Javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
mingyang143 committed Nov 11, 2024
1 parent f92f92a commit b1c409e
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 b1c409e

Please sign in to comment.