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 UseMapOf double brace init for non-string types #588

Conversation

BramliAK
Copy link
Contributor

@BramliAK BramliAK commented Oct 22, 2024

What's changed?

Fix org.openrewrite.java.migrate.util.UseMapOf fails on double brace init for non-string types

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

@BramliAK BramliAK changed the title Issue-566: Fix double brace init for non-string types Issue-566: Fix UseMapOf double brace init for non-string types Oct 22, 2024
@timtebeek timtebeek changed the title Issue-566: Fix UseMapOf double brace init for non-string types Fix UseMapOf double brace init for non-string types Oct 23, 2024
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.

Perfect contribution yet again; thanks a lot @BramliAK !

@timtebeek timtebeek merged commit 7d7c0e4 into openrewrite:main Oct 23, 2024
2 checks passed
@timtebeek timtebeek added the bug Something isn't working label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

org.openrewrite.java.migrate.util.UseMapOf fails on double brace init for non-string types
2 participants