From de2c5cb27ad305a66d573fb26683ae8d41d7f3d3 Mon Sep 17 00:00:00 2001 From: erv-teo <107994607+erv-teo@users.noreply.github.com> Date: Wed, 20 Mar 2024 16:42:34 +0800 Subject: [PATCH] Change add command success message to have a new line for each field --- src/main/java/seedu/address/logic/Messages.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/seedu/address/logic/Messages.java b/src/main/java/seedu/address/logic/Messages.java index feb8b4cc845..13099984810 100644 --- a/src/main/java/seedu/address/logic/Messages.java +++ b/src/main/java/seedu/address/logic/Messages.java @@ -39,11 +39,11 @@ public static String format(Person person) { builder.append(person.getName()) .append("\n IC: ") .append(person.getIc()) - .append(" DOB: ") + .append("\nDOB: ") .append(person.getDob()) .append("\n Admitted: ") .append(person.getAdmissionDate()) - .append(" Ward: ") + .append("\nWard: ") .append(person.getWard()) .append("\n Tags: ") .append(person.getTags());