Skip to content

Commit

Permalink
fix: RegexEntity missing toString implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
beryxz committed Feb 27, 2024
1 parent e74c53d commit 72f45ec
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,15 @@ public boolean equals(Object o) {
return this.getRegex().equals(that.getRegex());
}

@Override
public String toString() {
return "RegexEntity{" +
"regex='" + regex + '\'' +
", description='" + description + '\'' +
", sections=" + sections +
'}';
}

@Override
public int hashCode() {
return Objects.hash(this.getRegex());
Expand Down

0 comments on commit 72f45ec

Please sign in to comment.