Skip to content

Conversation

@traceyyoshima
Copy link
Contributor

Added recipe to migration ImmutableMap.of, ImmutableSet.of, and ImmutableList.of if the returned type is immediately down-cast.

@traceyyoshima traceyyoshima added the enhancement New feature or request label Sep 9, 2021
@traceyyoshima traceyyoshima marked this pull request as ready for review September 9, 2021 21:41
@traceyyoshima traceyyoshima marked this pull request as draft September 9, 2021 21:44
…te recipes. Replaced declarative NoGuavaImmutableSetOf with imperative recipe. Added recipes to `org.openrewrite.java.migrate.guava.NoGuava`, since it's safe to always call the recipes.
@traceyyoshima traceyyoshima marked this pull request as ready for review September 9, 2021 22:18
@traceyyoshima traceyyoshima merged commit a410de7 into main Sep 9, 2021
@traceyyoshima traceyyoshima deleted the add_recipe_to_migrate_guava_immutable_of branch September 9, 2021 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants