From 99ec1bf717a9ee3ac5688bcf0881a828da557378 Mon Sep 17 00:00:00 2001 From: justinlengch Date: Wed, 20 Mar 2024 01:10:02 +0800 Subject: [PATCH] Fixed checkstyle issues --- src/main/java/seedu/address/logic/commands/EditCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/seedu/address/logic/commands/EditCommand.java b/src/main/java/seedu/address/logic/commands/EditCommand.java index d16eaae6b55..5e142f8c658 100644 --- a/src/main/java/seedu/address/logic/commands/EditCommand.java +++ b/src/main/java/seedu/address/logic/commands/EditCommand.java @@ -106,7 +106,8 @@ private static Person createEditedPerson(Person personToEdit, EditPersonDescript Set updatedTags = editPersonDescriptor.getTags().orElse(personToEdit.getTags()); Remark updatedRemark = personToEdit.getRemark(); Subject updatedSubject = editPersonDescriptor.getSubject().orElse(personToEdit.getSubject()); - Lesson updatedUpcomingLesson = editPersonDescriptor.getUpcomingLesson().orElse(personToEdit.getUpcomingLesson()); + Lesson updatedUpcomingLesson = editPersonDescriptor.getUpcomingLesson() + .orElse(personToEdit.getUpcomingLesson()); return new Person(updatedName, updatedPhone, updatedEmail, updatedAddress, updatedSubject, updatedUpcomingLesson, updatedRemark, updatedTags);