Skip to content

Commit

Permalink
Reduce length of placeholder values
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoyun committed Mar 18, 2024
1 parent dd3a808 commit ebe59fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Address.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Email.java
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Phone.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit ebe59fa

Please sign in to comment.