Skip to content
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

HashCodeMethod#withMultiplier(int) returns Implementation, not HashCodeMethod as documented #1764

Closed
ljnelson opened this issue Feb 4, 2025 · 1 comment
Assignees
Labels

Comments

@ljnelson
Copy link
Contributor

ljnelson commented Feb 4, 2025

See https://javadoc.io/static/net.bytebuddy/byte-buddy/1.17.0/net/bytebuddy/implementation/HashCodeMethod.html#withMultiplier-int-

I think the return type should be HashCodeMethod.

Casting to HashCodeMethod works.

@raphw raphw self-assigned this Feb 5, 2025
@raphw raphw added the bug label Feb 5, 2025
@raphw raphw closed this as completed Feb 5, 2025
@raphw
Copy link
Owner

raphw commented Feb 5, 2025

Fixed on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants