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

Delete deprecated finalize #506

Merged
merged 7 commits into from
Jul 3, 2024

Conversation

ragudiko
Copy link
Contributor

@ragudiko ragudiko commented Jul 3, 2024

What's changed?

The java.desktop module had a few implementations of finalize() that did nothing and has been removed.

What's your motivation?

Remove empty finalize() methods in java.desktop module

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

Copy link
Contributor

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

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

Great start @ragudiko ! There'll be some automated review comments coming in, but other than that I think this is good to merge.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
timtebeek and others added 2 commits July 3, 2024 14:11
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@timtebeek timtebeek added the recipe Recipe requested label Jul 3, 2024
@timtebeek timtebeek merged commit e8e3ade into openrewrite:main Jul 3, 2024
2 checks passed

import static org.openrewrite.java.Assertions.java;

public class DeleteDeprecatedFinalizeTest implements RewriteTest {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
public class DeleteDeprecatedFinalizeTest implements RewriteTest {
class DeleteDeprecatedFinalizeTest implements RewriteTest {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe Recipe requested
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants