Skip to content

Commit

Permalink
Fix loading storage bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zoebelle-pang committed Apr 4, 2024
1 parent ad16f2e commit ddd6ae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Attendance.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class Attendance {

public static final String MESSAGE_CONSTRAINTS =
"Attendance should only be 'Present' or 'Absent', and it should not be blank";
public static final String VALIDATION_REGEX = "(?i)(present|absent)";
public static final String VALIDATION_REGEX = "(?i)(present|absent)|-";
public final String value;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Payment.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public class Payment {
public static final String MESSAGE_CONSTRAINTS =
"Payment should only be 'Paid' or 'Not Paid', and it should not be blank";
public static final String VALIDATION_REGEX = "(?i)(paid|not paid)";
public static final String VALIDATION_REGEX = "(?i)(paid|not paid)|-";
public final String value;

/**
Expand Down

0 comments on commit ddd6ae3

Please sign in to comment.