Skip to content

Commit

Permalink
Update checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Wongqingyee committed Mar 14, 2024
1 parent 672f027 commit 15d2592
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/seedu/address/storage/JsonAdaptedPerson.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public Person toModelType() throws IllegalValueException {
final Name modelName = new Name(name);

if (studentId == null) {
throw new IllegalValueException(String.format(MISSING_FIELD_MESSAGE_FORMAT, StudentId.class.getSimpleName()));
throw new IllegalValueException(String.format(MISSING_FIELD_MESSAGE_FORMAT,
StudentId.class.getSimpleName()));
}
if (!StudentId.isValidStudentId(studentId)) {
throw new IllegalValueException(StudentId.MESSAGE_CONSTRAINTS);
Expand Down

0 comments on commit 15d2592

Please sign in to comment.