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

Fix build warning about generated equals/hash #4050

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

Bananeweizen
Copy link
Contributor

What's your motivation?

Before the change the build has this warning

C:\dev\openrewrite\git\rewrite\rewrite-maven\src\main\java\org\openrewrite\maven\UpgradePluginVersion.java:169: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
    @Value
    ^

@timtebeek timtebeek merged commit 3826d13 into openrewrite:main Feb 25, 2024
1 check passed
@Bananeweizen Bananeweizen deleted the equalsandhash branch February 25, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants