Skip to content

Commit

Permalink
Fix adding remark to a Student bug
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlengch committed Mar 21, 2024
1 parent 579f648 commit 0404965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ dependencies {
}

shadowJar {
archiveFileName = 'addressbook.jar'
archiveFileName = 'tutortrack.jar'
}

defaultTasks 'clean', 'test'
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public CommandResult execute(Model model) throws CommandException {
Person personToEdit = lastShownList.get(index.getZeroBased());
Person editedPerson = new Person(personToEdit.getName(), personToEdit.getPhone(), personToEdit.getEmail(),
personToEdit.getAddress(), personToEdit.getSubject(),
personToEdit.getRemark(), personToEdit.getLessons());
this.remark, personToEdit.getLessons());

model.setPerson(personToEdit, editedPerson);
model.updateFilteredPersonList(PREDICATE_SHOW_ALL_PERSONS);
Expand Down

0 comments on commit 0404965

Please sign in to comment.