Skip to content

Commit

Permalink
Use static imports for any OpenRewrite Assertions methods
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Oct 21, 2024
1 parent 7c09d0d commit 88183fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/META-INF/rewrite/openrewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ recipeList:
- org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
- org.openrewrite.staticanalysis.NeedBraces
- org.openrewrite.staticanalysis.RemoveSystemOutPrintln
- org.openrewrite.java.UseStaticImport:
methodPattern: 'org.openrewrite..Assertions *(..)'
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.recipes.RecipeNullabilityBestPractices
Expand Down

0 comments on commit 88183fb

Please sign in to comment.