diff --git a/src/main/java/edu/hm/hafner/util/FilteredLog.java b/src/main/java/edu/hm/hafner/util/FilteredLog.java index 5b3afc42..1b3fe069 100644 --- a/src/main/java/edu/hm/hafner/util/FilteredLog.java +++ b/src/main/java/edu/hm/hafner/util/FilteredLog.java @@ -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); } }