Skip to content

Commit

Permalink
Merge pull request #318 from yucongkoo/branch-version-release
Browse files Browse the repository at this point in the history
Fix tag capitalisation bug
  • Loading branch information
LamJiuFong authored Nov 13, 2023
2 parents bd5dba7 + 0adfc0b commit 3d65e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/person/Tag.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public Tag(String tagName) {
requireNonNull(tagName);
String trimmedTagName = StringUtil.trimContiguousSpaces(tagName);
checkArgument(isValidTagName(trimmedTagName), MESSAGE_CONSTRAINTS);
this.tagName = trimmedTagName;
this.tagName = trimmedTagName.toLowerCase();
}

public String getTagName() {
Expand Down

0 comments on commit 3d65e17

Please sign in to comment.