Skip to content

Commit

Permalink
Merge pull request #258 from HM33-Stu/loc-role-error-msg
Browse files Browse the repository at this point in the history
Update Location And Role Error Message
  • Loading branch information
CaptainKeqing authored Apr 12, 2024
2 parents a175d4a + a50823c commit d85cb3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/internship/Location.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Represents an Internship's location in the internship data.
*/
public class Location {
public static final String MESSAGE_CONSTRAINTS = "Locations have to be either local, overseas, or remote";
public static final String MESSAGE_CONSTRAINTS = "Locations have to be either unknown, local, overseas, or remote.";

public static final String VALIDATION_REGEX = "(?i)local|remote|overseas|unknown";

Expand Down
3 changes: 1 addition & 2 deletions src/main/java/seedu/address/model/internship/Role.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
*/
public class Role {

public static final String MESSAGE_CONSTRAINTS =
"Roles should not be blank!";
public static final String MESSAGE_CONSTRAINTS = "Roles should not be blank!";

/*
* Matches any characters that are not only whitespace
Expand Down

0 comments on commit d85cb3f

Please sign in to comment.