From 6c9358f6b1f9fe54764d724fdfa8f8638c3a521d Mon Sep 17 00:00:00 2001 From: potaotototo Date: Sat, 2 Nov 2024 21:20:57 +0800 Subject: [PATCH] Add Javadoc --- src/main/java/tuteez/logic/Messages.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/tuteez/logic/Messages.java b/src/main/java/tuteez/logic/Messages.java index 19d8bf36f32..e5f8d77a487 100644 --- a/src/main/java/tuteez/logic/Messages.java +++ b/src/main/java/tuteez/logic/Messages.java @@ -70,6 +70,9 @@ public static String format(Person person) { return builder.toString(); } + /** + * Formats the person's {@code name} for display to the user. + */ public static String formatPersonName(Person person) { final StringBuilder builder = new StringBuilder(); builder.append(person.getName());