Skip to content

Commit

Permalink
Set fullComment as final
Browse files Browse the repository at this point in the history
  • Loading branch information
RuijianLu committed Oct 10, 2024
1 parent da29cf3 commit 219cf2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Comment.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class Comment {
"comments should only contain alphanumeric characters and spaces, and it should not be blank";

public static final String VALIDATION_REGEX = "[\\p{Alnum}][\\p{Alnum} ]*";
public String fullComment;
public final String fullComment;

/**
* Constructs a {@code Comment}.
Expand Down

0 comments on commit 219cf2b

Please sign in to comment.