From ebe59fa0a170f159bc6d66852086afa685ef0fcd Mon Sep 17 00:00:00 2001 From: ForAeons Date: Mon, 18 Mar 2024 16:12:52 +0800 Subject: [PATCH] Reduce length of placeholder values --- src/main/java/seedu/address/model/person/Address.java | 2 +- src/main/java/seedu/address/model/person/Email.java | 2 +- src/main/java/seedu/address/model/person/Phone.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/seedu/address/model/person/Address.java b/src/main/java/seedu/address/model/person/Address.java index f6937dcac2d..39a5f81d94b 100644 --- a/src/main/java/seedu/address/model/person/Address.java +++ b/src/main/java/seedu/address/model/person/Address.java @@ -9,7 +9,7 @@ */ public class Address { - public static final String PLACEHOLDER = "This person has no address."; + public static final String PLACEHOLDER = "Address not provided"; public static final String MESSAGE_CONSTRAINTS = "Addresses can take any values, and it should not be blank"; /* diff --git a/src/main/java/seedu/address/model/person/Email.java b/src/main/java/seedu/address/model/person/Email.java index c34a008c09b..0b83fbbc37f 100644 --- a/src/main/java/seedu/address/model/person/Email.java +++ b/src/main/java/seedu/address/model/person/Email.java @@ -9,7 +9,7 @@ */ public class Email { - public static final String PLACEHOLDER = "This person has no email."; + public static final String PLACEHOLDER = "Email not provided"; private static final String SPECIAL_CHARACTERS = "+_.-"; public static final String MESSAGE_CONSTRAINTS = "Emails should be of the format local-part@domain " + "and adhere to the following constraints:\n" diff --git a/src/main/java/seedu/address/model/person/Phone.java b/src/main/java/seedu/address/model/person/Phone.java index 1255e5e2109..d091bb138d3 100644 --- a/src/main/java/seedu/address/model/person/Phone.java +++ b/src/main/java/seedu/address/model/person/Phone.java @@ -10,10 +10,10 @@ public class Phone { + public static final String PLACEHOLDER = "Phone number not provided"; public static final String MESSAGE_CONSTRAINTS = "Phone numbers should only contain numbers, and it should be at least 3 digits long"; public static final String VALIDATION_REGEX = "\\d{3,}"; - public static final String PLACEHOLDER = "This person has no phone number."; public final String value; /**