Skip to content

Fix object identity of ScheduledHealthCheck #9471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

rhowe
Copy link
Contributor

@rhowe rhowe commented Oct 20, 2024

The previouslyRecovered and type fields were not included in equals, hashCode or toString of ScheduledHealthCheck

Take the opportunity to align the toString methods with other Dropwizard code, using string concatenation instead of StringBuilder.

@rhowe rhowe requested a review from a team as a code owner October 20, 2024 19:12
@github-actions github-actions bot added this to the 4.0.10 milestone Oct 20, 2024
@joschi joschi modified the milestones: 4.0.10, 4.0.11 Oct 21, 2024
@rhowe rhowe force-pushed the health-identity-fix branch from 8d560c8 to 26e3999 Compare October 23, 2024 07:58
Copy link
Member

@joschi joschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhowe Thanks!

The previouslyRecovered and type fields were not included in `equals`,
`hashCode` or `toString` of ScheduledHealthCheck

Take the opportunity to align the `toString` methods with other
Dropwizard code, using string concatenation instead of `StringBuilder`.
auto-merge was automatically disabled November 25, 2024 23:07

Head branch was pushed to by a user without write access

@rhowe rhowe force-pushed the health-identity-fix branch from 3652fb5 to 0c8e204 Compare November 25, 2024 23:07
@rhowe
Copy link
Contributor Author

rhowe commented Nov 25, 2024

@joschi sorry I rebased it and clashed with your button clicking

joschi added a commit that referenced this pull request Nov 25, 2024
The previouslyRecovered and type fields were not included in `equals`, `hashCode` or `toString` of ScheduledHealthCheck

Take the opportunity to align the `toString` methods with other Dropwizard code, using string concatenation instead of `StringBuilder`.

Refs #9471

(cherry picked from commit 3652fb5)

Co-authored-by: Russell Howe <[email protected]>
joschi added a commit that referenced this pull request Nov 25, 2024
The previouslyRecovered and type fields were not included in `equals`, `hashCode` or `toString` of ScheduledHealthCheck

Take the opportunity to align the `toString` methods with other Dropwizard code, using string concatenation instead of `StringBuilder`.

Refs #9471

(cherry picked from commit 3652fb5)

Co-authored-by: Russell Howe <[email protected]>
@joschi joschi merged commit 71db18b into dropwizard:release/4.0.x Nov 26, 2024
11 checks passed
@rhowe rhowe deleted the health-identity-fix branch November 26, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants