Skip to content

Commit

Permalink
refactor: Common static analysis issues
Browse files Browse the repository at this point in the history
Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/ggZMncs1O?organizationId=T3BlblJld3JpdGU%3D

Co-authored-by: Moderne <team@moderne.io>
  • Loading branch information
2 people authored and app committed Mar 12, 2024
1 parent 8f94063 commit ac54fc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Object foo(Object obj) {
@Test
void moreObjectsFirstNonNullToObjectsRequireNonNullElse() {
//language=java
rewriteRun((spec) -> {spec.recipes(Environment.builder()
rewriteRun(spec -> {spec.recipes(Environment.builder()
.scanRuntimeClasspath("org.openrewrite.java.migrate.guava")
.build()
.activateRecipes("org.openrewrite.java.migrate.guava.NoGuavaJava11"));
Expand Down

0 comments on commit ac54fc3

Please sign in to comment.