Skip to content

Commit

Permalink
Fix newlines in equals.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Sep 11, 2024
1 parent 60f088b commit a788921
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/edu/hm/hafner/util/FilteredLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,12 @@ public boolean equals(final Object o) {
&& lines == that.lines
&& Objects.equals(title, that.title)
&& Objects.equals(infoMessages, that.infoMessages)
&& Objects.equals(errorMessages, that.errorMessages);
&& Objects.equals(errorMessages, that.errorMessages)
&& Objects.equals(lock, that.lock);
}

@Override
public int hashCode() {
return Objects.hash(title, maxLines, lines, infoMessages, errorMessages);
return Objects.hash(title, maxLines, lines, infoMessages, errorMessages, lock);
}
}

0 comments on commit a788921

Please sign in to comment.