Skip to content

Commit

Permalink
Update codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
yooplo committed Oct 2, 2024
1 parent 74bd793 commit 41b2d00
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/seedu/address/model/person/Remark.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@
*/
public class Remark {
public final String value;

/**
* Constructs an {@code Remark}.
*
* @param remark A any string value.
*/
public Remark(String remark) {
requireNonNull(remark);
value = remark;
}

@Override
public String toString() {
return value;
Expand All @@ -24,4 +31,4 @@ public boolean equals(Object other) {
public int hashCode() {
return value.hashCode();
}
}
}

0 comments on commit 41b2d00

Please sign in to comment.