Skip to content

Commit

Permalink
add custom hashCode
Browse files Browse the repository at this point in the history
  • Loading branch information
danthe1st committed Aug 23, 2024
1 parent fb23042 commit 9089bd0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ private void archiveMessage(PrintWriter writer, Message message) {
}

private record RunningPurge(long id, AtomicBoolean cancelled) {

@Override
public final int hashCode() {
return (int) id;
}
}
}

0 comments on commit 9089bd0

Please sign in to comment.